configurable shortcut for comment / uncomment

This commit is contained in:
Michael michael.sytko 2017-01-28 12:05:20 +01:00 committed by Cristian Maglie
parent e4ebd4a6fc
commit 74384400e2
1 changed files with 1 additions and 1 deletions

View File

@ -1344,7 +1344,7 @@ public class Editor extends JFrame implements RunnerListener {
menu.addSeparator();
JMenuItem commentItem = newJMenuItem(tr("Comment/Uncomment"), '/');
JMenuItem commentItem = newJMenuItem(tr("Comment/Uncomment"), PreferencesData.get("editor.keys.shortcut_comment", "/").charAt(0));
commentItem.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
getCurrentTab().handleCommentUncomment();