Formats the selected text.
()
| 330 | * Formats the selected text. |
| 331 | */ |
| 332 | public final void format() { |
| 333 | final int caret = editor.pos(); |
| 334 | if(editor.format(rend.getSyntax())) hist.store(editor.text(), caret, editor.pos()); |
| 335 | computeHeight.invokeLater(true); |
| 336 | } |
| 337 | |
| 338 | @Override |
| 339 | public final void setEnabled(final boolean enabled) { |
nothing calls this directly
no test coverage detected