code: func (l *TextView) SetText(text []string) {
  	l.lines = make([]string, len(text))
  	copy(l.lines, text)
  
  	l.applyLimit()
  	l.calculateVirtualSize()
  
  	if l.autoscroll {
  		l.end()
  	}
  }
docs: // SetText replaces existing content of the control