code: func (t *TextView) SetWordWrap(wrapOnWords bool) *TextView {
  	if t.wordWrap != wrapOnWords {
  		t.index = nil
  	}
  	t.wordWrap = wrapOnWords
  	return t
  }
docs: // SetWordWrap sets the flag that, if true and if the "wrap" flag is also true
  // (see SetWrap()), wraps the line at spaces or after punctuation marks. Note
  // that trailing spaces will not be printed.
  //
  // This flag is ignored if the "wrap" flag is false.