()
| 548 | } |
| 549 | |
| 550 | void handleCommentUncomment() { |
| 551 | Action action = textarea.getActionMap().get(RSyntaxTextAreaEditorKit.rstaToggleCommentAction); |
| 552 | action.actionPerformed(null); |
| 553 | // XXX: RSyntaxDocument doesn't fire DocumentListener events, it should be fixed in RSyntaxTextArea? |
| 554 | editor.updateUndoRedoState(); |
| 555 | } |
| 556 | |
| 557 | void handleDiscourseCopy() { |
| 558 | new DiscourseFormat(editor, this, false).show(); |