Finishes a command. @param old old cursor position; store entry to history if position != -1
(final int old)
| 750 | * @param old old cursor position; store entry to history if position != -1 |
| 751 | */ |
| 752 | private void finish(final int old) { |
| 753 | if(old != -1) hist.store(editor.text(), old, editor.pos()); |
| 754 | computeHeight.invokeLater(true); |
| 755 | release(Action.CHECK); |
| 756 | } |
| 757 | |
| 758 | /** |
| 759 | * Stops an old text cursor thread and, if requested, starts a new one. |