Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorAnton Leherbauer2008-12-18 13:39:50 +0000
committerAnton Leherbauer2008-12-18 13:39:50 +0000
commit2529e886bb3be760ea2282e6e5246cd9ce070576 (patch)
tree2568741031ba267cd6b0cbeee9af4eb1c82f89cd /build
parent14790ea880107312bcc44e642a9d8d8b5b79de02 (diff)
downloadorg.eclipse.cdt-2529e886bb3be760ea2282e6e5246cd9ce070576.tar.gz
org.eclipse.cdt-2529e886bb3be760ea2282e6e5246cd9ce070576.tar.xz
org.eclipse.cdt-2529e886bb3be760ea2282e6e5246cd9ce070576.zip
Bug 172331 - Keyboard shortcuts don't work in Makefile Editor, patch by Olexiy Buyanskyy
Diffstat (limited to 'build')
-rw-r--r--build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/internal/ui/editor/MakefileEditor.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/internal/ui/editor/MakefileEditor.java b/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/internal/ui/editor/MakefileEditor.java
index 60cded12cfd..f38384cfed9 100644
--- a/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/internal/ui/editor/MakefileEditor.java
+++ b/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/internal/ui/editor/MakefileEditor.java
@@ -424,4 +424,13 @@ public class MakefileEditor extends TextEditor implements ISelectionChangedListe
// see http://bugs.eclipse.org/186106
return false;
}
+
+ /*
+ * @see org.eclipse.ui.editors.text.TextEditor#initializeKeyBindingScopes()
+ * @see http://bugs.eclipse.org/172331
+ */
+ protected void initializeKeyBindingScopes() {
+ setKeyBindingScopes(new String [] { "org.eclipse.cdt.make.ui.makefileEditorScope" } ); //$NON-NLS-1$
+ }
+
}

Back to the top