Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorteicher2004-04-07 12:10:16 +0000
committerteicher2004-04-07 12:10:16 +0000
commite0eff89ddfdf7d74fb8f96f1e9d929954ca022af (patch)
tree098685d91e82eb19dd8c7a71d09fc99d1585fc13
parentf51c0381e3f2e40ee864b8d2972b325b5eab83ce (diff)
downloadeclipse.platform.text-e0eff89ddfdf7d74fb8f96f1e9d929954ca022af.tar.gz
eclipse.platform.text-e0eff89ddfdf7d74fb8f96f1e9d929954ca022af.tar.xz
eclipse.platform.text-e0eff89ddfdf7d74fb8f96f1e9d929954ca022af.zip
removed insets from IBeamStrategy
-rw-r--r--org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/SourceViewerDecorationSupport.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/SourceViewerDecorationSupport.java b/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/SourceViewerDecorationSupport.java
index 0943486c3..1751c1b0e 100644
--- a/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/SourceViewerDecorationSupport.java
+++ b/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/SourceViewerDecorationSupport.java
@@ -123,10 +123,10 @@ public class SourceViewerDecorationSupport {
Point left= textWidget.getLocationAtOffset(offset);
int x1= left.x;
- int y1= left.y + 1;
+ int y1= left.y;
gc.setForeground(color);
- gc.drawLine(x1, y1, x1, left.y + textWidget.getLineHeight() - 2);
+ gc.drawLine(x1, y1, x1, left.y + textWidget.getLineHeight() - 1);
} else {
// textWidget.redrawRange(offset, length, true);

Back to the top