cursorKill deletes text from cursor to end of text
()
| 851 | |
| 852 | // cursorKill deletes text from cursor to end of text |
| 853 | func (tf *TextField) cursorKill() { |
| 854 | steps := len(tf.editText) - tf.cursorPos |
| 855 | tf.cursorDelete(steps) |
| 856 | } |
| 857 | |
| 858 | /////////////////////////////////////////////////////////////////////////////// |
| 859 | // Selection |
no test coverage detected