MacOSX: Home/End key preference was coded backwards. Fixed. See #3715

This commit is contained in:
Federico Fissore 2015-08-28 09:47:16 +02:00
parent 61041326b2
commit 649bc6d778
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}