Cursor Navigation cursorMovedEvent sends the event that cursor has moved
()
| 20 | |
| 21 | // cursorMovedEvent sends the event that cursor has moved |
| 22 | func (ed *Editor) cursorMovedEvent() { |
| 23 | ed.Send(events.Input, nil) |
| 24 | } |
| 25 | |
| 26 | // validateCursor sets current cursor to a valid cursor position |
| 27 | func (ed *Editor) validateCursor() { |
no test coverage detected