summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLynn Kues <lynne>2001-06-13 19:20:09 +0000
committerLynn Kues <lynne>2001-06-13 19:20:09 +0000
commit98eda2e287e872779581ca29cf0f42b67b6ab222 (patch)
tree18ebd566b4e846817c5c39fcae2795a96d49a0d4
parenta76fe176dc79ac8bfeb0987f250297af327b3f0f (diff)
downloadeclipse.platform.swt-98eda2e287e872779581ca29cf0f42b67b6ab222.tar.gz
eclipse.platform.swt-98eda2e287e872779581ca29cf0f42b67b6ab222.tar.xz
eclipse.platform.swt-98eda2e287e872779581ca29cf0f42b67b6ab222.zip
1GF9W2U
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/DefaultLineStyler.java2
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/DefaultLineStyler.java b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/DefaultLineStyler.java
index 50365a44e5..597459c314 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/DefaultLineStyler.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/DefaultLineStyler.java
@@ -227,7 +227,7 @@ StyleRange [] getStyleRanges() {
*/
public void lineGetBackground(LineBackgroundEvent event) {
int lineIndex = content.getLineAtOffset(event.lineOffset);
- // hack for 1GDX9PN
+ // 1GDX9PN
if (lineIndex > (lineBackgrounds.length - 1)) event.lineBackground = null;
else event.lineBackground = lineBackgrounds[lineIndex];
}
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 1d2fafbe8e..c65cfd471a 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
@@ -5019,7 +5019,7 @@ public void setStyleRanges(StyleRange[] ranges) {
}
}
defaultLineStyler.setStyleRanges(ranges);
- redraw(); // bogus! only redraw affected area to avoid flashing
+ redraw(); // should only redraw affected area to avoid flashing
// make sure that the caret is positioned correctly.
// caret location may change if font style changes.
// fixes 1G8FODP