code: func (t *TextView) SetWrap(wrap bool) *TextView {
  	if t.wrap != wrap {
  		t.index = nil
  	}
  	t.wrap = wrap
  	return t
  }
docs: // SetWrap sets the flag that, if true, leads to lines that are longer than the
  // available width being wrapped onto the next line. If false, any characters
  // beyond the available width are not displayed.