()
| 223 | } |
| 224 | |
| 225 | func (te *TextEdit) TextSelection() (start, end int) { |
| 226 | te.SendMessage(win.EM_GETSEL, uintptr(unsafe.Pointer(&start)), uintptr(unsafe.Pointer(&end))) |
| 227 | return |
| 228 | } |
| 229 | |
| 230 | func (te *TextEdit) SetTextSelection(start, end int) { |
| 231 | te.SendMessage(win.EM_SETSEL, uintptr(start), uintptr(end)) |
no test coverage detected