Sorts text.
()
| 317 | * Sorts text. |
| 318 | */ |
| 319 | public final void sort() { |
| 320 | final int caret = editor.pos(); |
| 321 | final DialogSort ds = new DialogSort(gui); |
| 322 | if(!ds.ok() || !editor.sort()) return; |
| 323 | |
| 324 | hist.store(editor.text(), caret, editor.pos()); |
| 325 | computeHeight.invokeLater(true); |
| 326 | repaint(); |
| 327 | } |
| 328 | |
| 329 | /** |
| 330 | * Formats the selected text. |
nothing calls this directly
no test coverage detected