Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDani Megert2006-04-18 14:00:29 +0000
committerDani Megert2006-04-18 14:00:29 +0000
commit79ac7aaa9690e2b0e982ac156f37b1c213c6df55 (patch)
tree527f430a12d6bb4e31b69a4625bbcc36f3b83056 /org.eclipse.ui.workbench.texteditor/plugin.xml
parent5a40da9385e4c3432adf31a45a484cd759bf2319 (diff)
downloadeclipse.platform.text-79ac7aaa9690e2b0e982ac156f37b1c213c6df55.tar.gz
eclipse.platform.text-79ac7aaa9690e2b0e982ac156f37b1c213c6df55.tar.xz
eclipse.platform.text-79ac7aaa9690e2b0e982ac156f37b1c213c6df55.zip
Released Markus' patch to fix bug 95950: [KeyBindings] interactions: ALT/COMMAND+ARROW keybindings should be swapped on Mac
Diffstat (limited to 'org.eclipse.ui.workbench.texteditor/plugin.xml')
-rw-r--r--org.eclipse.ui.workbench.texteditor/plugin.xml108
1 files changed, 101 insertions, 7 deletions
diff --git a/org.eclipse.ui.workbench.texteditor/plugin.xml b/org.eclipse.ui.workbench.texteditor/plugin.xml
index 58f737722..958ec0d95 100644
--- a/org.eclipse.ui.workbench.texteditor/plugin.xml
+++ b/org.eclipse.ui.workbench.texteditor/plugin.xml
@@ -448,12 +448,12 @@
commandId="org.eclipse.ui.edit.text.scroll.lineUp"
contextId="org.eclipse.ui.textEditorScope"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
- sequence="M1+ARROW_UP"/>
+ sequence="CTRL+ARROW_UP"/> <!-- hardcode CTRL to avoid overwriting Command+UP on carbon -->
<key
commandId="org.eclipse.ui.edit.text.scroll.lineDown"
contextId="org.eclipse.ui.textEditorScope"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
- sequence="M1+ARROW_DOWN"/>
+ sequence="CTRL+ARROW_DOWN"/> <!-- hardcode CTRL to avoid overwriting Command+DOWN on carbon -->
<key
commandId="org.eclipse.ui.edit.text.toggleOverwrite"
contextId="org.eclipse.ui.textEditorScope"
@@ -464,15 +464,15 @@
contextId="org.eclipse.ui.textEditorScope"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M1+F10"/>
- <!-- Command+Q is quit on carbon, so don't overwrite it -->
<key
- sequence="CTRL+Q"
commandId="org.eclipse.ui.edit.text.gotoLastEditPosition"
- schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/>
+ contextId="org.eclipse.ui.contexts.window"
+ schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
+ sequence="CTRL+Q"/> <!-- Command+Q is quit on carbon, so don't overwrite it -->
<key
- sequence="M2+CR"
- contextId="org.eclipse.ui.textEditorScope"
commandId="org.eclipse.ui.edit.text.smartEnter"
+ contextId="org.eclipse.ui.textEditorScope"
+ sequence="M2+CR"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/>
<key
sequence="M1+M2+CR"
@@ -515,23 +515,103 @@
commandId="org.eclipse.ui.edit.text.goto.wordNext"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/>
<key
+ commandId="org.eclipse.ui.edit.text.goto.lineEnd"
+ sequence="END"
+ contextId="org.eclipse.ui.textEditorScope"
+ schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/>
+ <key
+ commandId="org.eclipse.ui.edit.text.goto.lineEnd"
+ platform="carbon"
+ sequence="M1+ARROW_RIGHT"
+ contextId="org.eclipse.ui.textEditorScope"
+ schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/>
+ <key
+ commandId="org.eclipse.ui.edit.text.goto.textEnd"
+ sequence="M1+END"
+ contextId="org.eclipse.ui.textEditorScope"
+ schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/>
+ <key
+ commandId="org.eclipse.ui.edit.text.goto.textEnd"
+ platform="carbon"
+ sequence="END"
+ contextId="org.eclipse.ui.textEditorScope"
+ schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/>
+ <key
+ platform="carbon"
+ sequence="ALT+ARROW_RIGHT"
+ contextId="org.eclipse.ui.textEditorScope"
+ commandId="org.eclipse.ui.edit.text.goto.wordNext"
+ schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/>
+ <key
sequence="M1+ARROW_LEFT"
contextId="org.eclipse.ui.textEditorScope"
commandId="org.eclipse.ui.edit.text.goto.wordPrevious"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/>
<key
+ commandId="org.eclipse.ui.edit.text.goto.lineStart"
+ sequence="HOME"
+ contextId="org.eclipse.ui.textEditorScope"
+ schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/>
+ <key
+ commandId="org.eclipse.ui.edit.text.goto.lineStart"
+ platform="carbon"
+ sequence="M1+ARROW_LEFT"
+ contextId="org.eclipse.ui.textEditorScope"
+ schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/>
+ <key
+ commandId="org.eclipse.ui.edit.text.goto.textStart"
+ sequence="M1+HOME"
+ contextId="org.eclipse.ui.textEditorScope"
+ schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/>
+ <key
+ commandId="org.eclipse.ui.edit.text.goto.textStart"
+ platform="carbon"
+ sequence="HOME"
+ contextId="org.eclipse.ui.textEditorScope"
+ schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/>
+ <key
+ platform="carbon"
+ sequence="ALT+ARROW_LEFT"
+ contextId="org.eclipse.ui.textEditorScope"
+ commandId="org.eclipse.ui.edit.text.goto.wordPrevious"
+ schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/>
+ <key
sequence="M1+DEL"
contextId="org.eclipse.ui.textEditorScope"
commandId="org.eclipse.ui.edit.text.deleteNextWord"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/>
<key
+ platform="carbon"
+ sequence="ALT+DEL"
+ contextId="org.eclipse.ui.textEditorScope"
+ commandId="org.eclipse.ui.edit.text.deleteNextWord"
+ schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/>
+ <key
sequence="M1+BS"
contextId="org.eclipse.ui.textEditorScope"
commandId="org.eclipse.ui.edit.text.deletePreviousWord"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/>
<key
+ platform="carbon"
+ sequence="ALT+BS"
+ contextId="org.eclipse.ui.textEditorScope"
+ commandId="org.eclipse.ui.edit.text.deletePreviousWord"
+ schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/>
+ <key
+ sequence="M1+M2+ARROW_RIGHT"
+ contextId="org.eclipse.ui.textEditorScope"
+ commandId="org.eclipse.ui.edit.text.select.wordNext"
+ schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/>
+ <key
+ platform="carbon"
sequence="M1+M2+ARROW_RIGHT"
contextId="org.eclipse.ui.textEditorScope"
+ commandId=""
+ schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/>
+ <key
+ platform="carbon"
+ sequence="ALT+SHIFT+ARROW_RIGHT"
+ contextId="org.eclipse.ui.textEditorScope"
commandId="org.eclipse.ui.edit.text.select.wordNext"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/>
<key
@@ -539,6 +619,18 @@
contextId="org.eclipse.ui.textEditorScope"
commandId="org.eclipse.ui.edit.text.select.wordPrevious"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/>
+ <key
+ platform="carbon"
+ sequence="M1+M2+ARROW_LEFT"
+ contextId="org.eclipse.ui.textEditorScope"
+ commandId=""
+ schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/>
+ <key
+ platform="carbon"
+ sequence="ALT+SHIFT+ARROW_LEFT"
+ contextId="org.eclipse.ui.textEditorScope"
+ commandId="org.eclipse.ui.edit.text.select.wordPrevious"
+ schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/>
<key
locale="zh"
contextId="org.eclipse.ui.contexts.dialogAndWindow"
@@ -583,6 +675,8 @@
contextId="org.eclipse.ui.textEditorScope"
sequence="M4+."
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/>
+
+ <!-- emacs key bindings -->
<key
commandId="org.eclipse.ui.edit.text.cut.line.to.beginning"
contextId="org.eclipse.ui.textEditorScope"

Back to the top