code: func TextView2(nextSlide func()) (title string, content tview.Primitive) {
  	codeView := tview.NewTextView().
  		SetWrap(false)
  	fmt.Fprint(codeView, textView2)
  	codeView.SetBorder(true).SetTitle("Buffer content")
  
  	textView := tview.NewTextView()
  	textView.SetDynamicColors(true).
  		SetWrap(false).
  		SetRegions(true).
  		SetDoneFunc(func(key tcell.Key) {
  			if key == tcell.KeyEscape {
  				nextSlide()
  				return
  			}
  			highlights := textView.GetHighlights()
  			hasHighlights := len(highlights) > 0
  			switch key {
  			case tcell.KeyEnter:
  				if hasHighlights {
  					textView.Highlight()
  				} else {
  					textView.Highlight("0").
  						ScrollToHighlight()
  				}
  			case tcell.KeyTab:
  				if hasHighlights {
  					current, _ := strconv.Atoi(highlights[0])
  					next := (current + 1) % 9
  					textView.Highlight(strconv.Itoa(next)).
  						ScrollToHighlight()
  				}
  			case tcell.KeyBacktab:
  				if hasHighlights {
  					current, _ := strconv.Atoi(highlights[0])
  					next := (current - 1 + 9) % 9
  					textView.Highlight(strconv.Itoa(next)).
  						ScrollToHighlight()
  				}
  			}
  		})
  	fmt.Fprint(textView, textView2)
  	textView.SetBorder(true).SetTitle("TextView output")
  	return "Text 2", tview.NewFlex().
  		AddItem(textView, 0, 1, true).
  		AddItem(codeView, 0, 1, false)
  }
docs: // TextView2 demonstrates the extended text view.