mirror of
https://github.com/arduino/Arduino.git
synced 2024-12-01 12:24:14 +01:00
configurable shortcut for comment / uncomment
This commit is contained in:
parent
e4ebd4a6fc
commit
74384400e2
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user