Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVivian Kong2009-04-30 16:41:00 +0000
committerVivian Kong2009-04-30 16:41:00 +0000
commitb08713702c387e0411b15d98a4a5942410127e57 (patch)
treee0c45837803448a3334939913b665e20ca17e3b9 /build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/internal/ui/editor
parentf309234b785be895dbbc73c8565c0a3a9af554b0 (diff)
downloadorg.eclipse.cdt-b08713702c387e0411b15d98a4a5942410127e57.tar.gz
org.eclipse.cdt-b08713702c387e0411b15d98a4a5942410127e57.tar.xz
org.eclipse.cdt-b08713702c387e0411b15d98a4a5942410127e57.zip
bug 271449: Incorrect text direction in makefile in mirrored eclipse
Diffstat (limited to 'build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/internal/ui/editor')
-rw-r--r--build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/internal/ui/editor/MakefileEditor.java9
1 files changed, 8 insertions, 1 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 f38384cfed9..39156cae598 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
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2008 QNX Software Systems and others.
+ * Copyright (c) 2000, 2009 QNX Software Systems and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -8,6 +8,7 @@
* Contributors:
* QNX Software Systems - Initial API and implementation
* Anton Leherbauer (Wind River Systems)
+ * IBM Corporation
*******************************************************************************/
package org.eclipse.cdt.make.internal.ui.editor;
@@ -39,6 +40,7 @@ import org.eclipse.jface.viewers.ISelection;
import org.eclipse.jface.viewers.ISelectionChangedListener;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.jface.viewers.SelectionChangedEvent;
+import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.ui.IPartService;
import org.eclipse.ui.IWorkbenchPart;
@@ -433,4 +435,9 @@ public class MakefileEditor extends TextEditor implements ISelectionChangedListe
setKeyBindingScopes(new String [] { "org.eclipse.cdt.make.ui.makefileEditorScope" } ); //$NON-NLS-1$
}
+ @Override
+ public int getOrientation() {
+ return SWT.LEFT_TO_RIGHT; // bug 271449: Makefile editor should always be left to right
+ }
+
}

Back to the top