UndoTextEvent undoes a text event
(t *TextEvent)
| 137 | |
| 138 | // UndoTextEvent undoes a text event |
| 139 | func (eh *EventHandler) UndoTextEvent(t *TextEvent) { |
| 140 | t.EventType = -t.EventType |
| 141 | eh.DoTextEvent(t, false) |
| 142 | } |
| 143 | |
| 144 | // EventHandler executes text manipulations and allows undoing and redoing |
| 145 | type EventHandler struct { |
no test coverage detected