Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKai Maetzel2004-03-16 16:33:34 +0000
committerKai Maetzel2004-03-16 16:33:34 +0000
commit9e61e462e164d0305f13d0a1656e745653011cdb (patch)
tree903f7ac1f42b9e97341295cc98644e3c84fb27f0 /org.eclipse.ui.editors
parentf5cda615d6a81d07d8dcc044ddecbb63c1ff9e1f (diff)
downloadeclipse.platform.text-9e61e462e164d0305f13d0a1656e745653011cdb.tar.gz
eclipse.platform.text-9e61e462e164d0305f13d0a1656e745653011cdb.tar.xz
eclipse.platform.text-9e61e462e164d0305f13d0a1656e745653011cdb.zip
clean up
Diffstat (limited to 'org.eclipse.ui.editors')
-rw-r--r--org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/TextEditor.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/TextEditor.java b/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/TextEditor.java
index 973f1fe29..52781be84 100644
--- a/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/TextEditor.java
+++ b/org.eclipse.ui.editors/src/org/eclipse/ui/editors/text/TextEditor.java
@@ -71,15 +71,13 @@ public class TextEditor extends ExtendedTextEditor {
*/
public TextEditor() {
super();
- initializeKeyBindingScopes();
- setSourceViewerConfiguration(new TextSourceViewerConfiguration(getNewPreferenceStore()));
- initializeEditor();
}
/**
* Initializes this editor.
*/
protected void initializeEditor() {
+ setSourceViewerConfiguration(new TextSourceViewerConfiguration(getNewPreferenceStore()));
setEditorContextMenuId("#TextEditorContext"); //$NON-NLS-1$
setRulerContextMenuId("#TextRulerContext"); //$NON-NLS-1$
setHelpContextId(ITextEditorHelpContextIds.TEXT_EDITOR);

Back to the top