mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-19 13:54:23 +01:00
MacOSX: Home/End key preference was coded backwards. Fixed. See #3715
This commit is contained in:
parent
61041326b2
commit
649bc6d778
@ -50,7 +50,7 @@ public class SketchTextAreaDefaultInputMap extends RSyntaxTextAreaDefaultInputMa
|
||||
put(KeyStroke.getKeyStroke(KeyEvent.VK_UP, defaultModifier | shift), DefaultEditorKit.selectionBeginAction);
|
||||
put(KeyStroke.getKeyStroke(KeyEvent.VK_DOWN, defaultModifier | shift), DefaultEditorKit.selectionEndAction);
|
||||
|
||||
if (PreferencesData.getBoolean("editor.keys.home_and_end_to_start_end_of_doc")) {
|
||||
if (!PreferencesData.getBoolean("editor.keys.home_and_end_beginning_end_of_doc")) {
|
||||
put(KeyStroke.getKeyStroke(KeyEvent.VK_HOME, 0), DefaultEditorKit.beginLineAction);
|
||||
put(KeyStroke.getKeyStroke(KeyEvent.VK_END, 0), DefaultEditorKit.endLineAction);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user