code: func (l *TextView) SetWordWrap(wrap bool) {
  	if wrap != l.wordWrap {
  		l.wordWrap = wrap
  		l.calculateVirtualSize()
  		l.recalculateTopLine()
  		l.Draw()
  	}
  }
docs: // SetWordWrap enables or disables wordwrap mode