area.installShortCut("showLineNumbers", shortCut, a);
return a;
}
private Action installToggleCommentAction(ExpressionArea area) {
Action a = new ToggleCommentAction(area.getTextPane());
KeyStroke shortCut = KeyUtils.getCtrlDown(KeyEvent.VK_SLASH);
a.putValue(Action.ACCELERATOR_KEY, shortCut);
area.installShortCut("toggleComment", shortCut, a);
return a;
}