Adds or removes a comment.
()
| 291 | * Adds or removes a comment. |
| 292 | */ |
| 293 | public final void comment() { |
| 294 | final int caret = editor.pos(); |
| 295 | if(editor.comment(rend.getSyntax())) hist.store(editor.text(), caret, editor.pos()); |
| 296 | computeHeight.invokeLater(true); |
| 297 | } |
| 298 | |
| 299 | /** |
| 300 | * Case conversion. |