Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Northover2001-09-17 18:53:23 +0000
committerSteve Northover2001-09-17 18:53:23 +0000
commit790c4867026f515a0115e0f4d428cb9bfa35e006 (patch)
tree685704cd8b6ff59bcc32197636e54cc8081f9bf8
parenta5af349e63d25eb5865775f91e95b7cf3d830533 (diff)
downloadeclipse.platform.swt-bogus.tar.gz
eclipse.platform.swt-bogus.tar.xz
eclipse.platform.swt-bogus.zip
*** empty log message ***bogus
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
index 766c0d55e0..60f593e723 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
@@ -105,7 +105,7 @@ public class StyledText extends Canvas {
int lastTextChangeReplaceLineCount; // text changed handler
int lastTextChangeReplaceCharCount;
- boolean bidiColoring = true; // apply the BIDI algorithm on text segments of the same color
+ boolean bidiColoring = false; // apply the BIDI algorithm on text segments of the same color
static final int BIDI_CARET_WIDTH = 4;
static int xInset = 0;
@@ -643,7 +643,7 @@ int [] getStyleOffsets (String line, int lineOffset) {
if (event != null) {
styles = event.styles;
}
- if (styles.length == 0 || !bidiColorSplit) {
+ if (styles.length == 0 || !bidiColoring) {
return new int[] {0, line.length()};
}

Back to the top