Skip to content

Commit 670ad37

Browse files
author
Federico Fissore
committed
New editor on MacOSX: since CMD+J is known as "jump to selection" and the editor has no such feature, CMD+J is disabled on mac. See #3098
1 parent d3b3dbb commit 670ad37

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/src/processing/app/syntax/SketchTextAreaDefaultInputMap.java

+3
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,11 @@ public SketchTextAreaDefaultInputMap() {
3333

3434
if (isOSX) {
3535
put(KeyStroke.getKeyStroke(KeyEvent.VK_BACK_SPACE, defaultModifier), SketchTextAreaEditorKit.rtaDeleteLineToCursorAction);
36+
3637
put(KeyStroke.getKeyStroke(KeyEvent.VK_UP, defaultModifier), DefaultEditorKit.beginAction);
3738
put(KeyStroke.getKeyStroke(KeyEvent.VK_DOWN, defaultModifier), DefaultEditorKit.endAction);
39+
40+
remove(KeyStroke.getKeyStroke(KeyEvent.VK_J, defaultModifier));
3841
}
3942
}
4043
}

0 commit comments

Comments
 (0)