// GetText returns the text as string
GetText returns the text as string
// GetText returns the text as string
func (e *TextEditingEvent) GetText() string {
	length := func(buf []byte) int {
		for i := range buf {
			if buf[i] == 0 {
				return i
			}
		}
		return 0
	}(e.Text[:])
	text := e.Text[:length]
	return string(text)
}
func ( e * TextEditingEvent ) GetText ( ) string { length := func ( buf [ ] byte ) int { for i := range buf { if buf [ i ] == 0 { return i } } return 0 } ( e . Text [ : ] ) text := e . Text [ : length ] return string ( text ) }
GetText returns the text as string
GetText returns the text as string