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()
	}
}
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()
	}
}
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 ( ) } }
// SetText replaces existing content of the control
SetText replaces existing content of the control