protected Action[] createActions() { Action[] extActions = new Action[] { new BuildPopupMenuAction(), new ShowPopupMenuAction(), new BuildToolTipAction(), new FindAction(), new ReplaceAction(), new GotoAction(), //new GotoDeclarationAction(), the instance will be created in extending editor... i.e. JavaKit new ToggleCaseIdentifierBeginAction(), new MatchBraceAction(matchBraceAction, false), new MatchBraceAction(selectionMatchBraceAction, true), // new CodeSelectAction(), // the actionPerformed is empty and so I'm removing the action from the list new EscapeAction(), new ExtDefaultKeyTypedAction(), new CompletionShowAction(), new CompletionHideAction(), new JDCPopupPanelHideAction(), new JDCPopupPanelShowAction() }; return TextAction.augmentList(super.createActions(), extActions); }
public void actionPerformed(ActionEvent evt, JTextComponent target) { if (target != null) { getSupport().showFindDialog(); } }
protected Action[] createActions() { Action[] extActions = new Action[] { new BuildPopupMenuAction(), new ShowPopupMenuAction(), new BuildToolTipAction(), new FindAction(), new ReplaceAction(), new GotoAction(), new GotoDeclarationAction(), new ToggleCaseIdentifierBeginAction(), new MatchBraceAction(matchBraceAction, false), new MatchBraceAction(selectionMatchBraceAction, true), // new CodeSelectAction(), // the actionPerformed is empty and // so I'm removing the action from the list new EscapeAction(), new ExtDefaultKeyTypedAction(), new ExtInsertTabAction(), new ExtInsertBreakAction(), new ExtUpAction(upAction, false), new ExtPageUpAction(pageUpAction, false), new ExtDownAction(downAction, false), new ExtPageDownAction(pageDownAction, false), new ExtBeginLineAction(beginLineAction, false), new ExtBeginLineAction(selectionBeginLineAction, true), new ExtEndLineAction(endLineAction, false), new ExtEndLineAction(selectionEndLineAction, true), new CompletionShowAction(), new CompletionHideAction(), new ShiftInsertBreakAction() }; return TextAction.augmentList(super.createActions(), extActions); }
public void actionPerformed(ActionEvent evt, JTextComponent target) { if (target != null) { getSupport().showFindDialog(new KeyEventBlocker(target, false)); } }