Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Recoskie2007-06-22 15:06:36 -0400
committerChris Recoskie2007-06-22 15:06:36 -0400
commit426fa40c5dfaeba87348e246593ecf9d11260176 (patch)
treed5d7540cf8a196665e56eeba8d482cdacafb48ac
parent103eaadb1c2b17b077b48f5ac7df3c24bcfa7312 (diff)
downloadorg.eclipse.cdt-426fa40c5dfaeba87348e246593ecf9d11260176.tar.gz
org.eclipse.cdt-426fa40c5dfaeba87348e246593ecf9d11260176.tar.xz
org.eclipse.cdt-426fa40c5dfaeba87348e246593ecf9d11260176.zip
RESOLVED - bug 186908: C Compare editor should always be LEFT_TO_RIGHT
https://bugs.eclipse.org/bugs/show_bug.cgi?id=186908 Patch from Jason Montojo
-rw-r--r--core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/compare/CMergeViewer.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/compare/CMergeViewer.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/compare/CMergeViewer.java
index 0f19a913e5..9624d63ec2 100644
--- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/compare/CMergeViewer.java
+++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/compare/CMergeViewer.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2005, 2006 IBM Corporation and others.
+ * Copyright (c) 2005, 2007 IBM Corporation 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
@@ -21,6 +21,7 @@ import org.eclipse.jface.text.TextViewer;
import org.eclipse.jface.text.source.SourceViewer;
import org.eclipse.jface.util.IPropertyChangeListener;
import org.eclipse.jface.util.PropertyChangeEvent;
+import org.eclipse.swt.SWT;
import org.eclipse.swt.events.DisposeEvent;
import org.eclipse.swt.graphics.RGB;
import org.eclipse.swt.widgets.Composite;
@@ -43,7 +44,7 @@ public class CMergeViewer extends TextMergeViewer {
private CSourceViewerConfiguration fSourceViewerConfiguration;
public CMergeViewer(Composite parent, int styles, CompareConfiguration mp) {
- super(parent, styles, mp);
+ super(parent, styles | SWT.LEFT_TO_RIGHT, mp);
IPreferenceStore store = getPreferenceStore();

Back to the top