Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMickael Istria2018-03-23 05:38:35 -0400
committerMickael Istria2018-03-23 05:39:09 -0400
commit653dc97a4b1de7850ec142af39c92483e29adb62 (patch)
tree6161794d293add8fc86b52eefe8971db02aae352 /org.eclipse.jface.text/src
parent6227d7fd9e564c12cfc7dc4b1069a1bcf734363f (diff)
downloadeclipse.platform.text-653dc97a4b1de7850ec142af39c92483e29adb62.tar.gz
eclipse.platform.text-653dc97a4b1de7850ec142af39c92483e29adb62.tar.xz
eclipse.platform.text-653dc97a4b1de7850ec142af39c92483e29adb62.zip
Bug 529617 - TextListener for LineNumberRuler only manages digits
The InternalListener is expected to only take care of the number of lines to compute the width of the column. Remove from it unrelated code which cause errors in JDT's MarkOccurrenceTest Change-Id: I676c7a83cfb7b73ddd903d093c44e45544ef3b88 Signed-off-by: Mickael Istria <mistria@redhat.com>
Diffstat (limited to 'org.eclipse.jface.text/src')
-rw-r--r--org.eclipse.jface.text/src/org/eclipse/jface/text/source/LineNumberRulerColumn.java4
1 files changed, 0 insertions, 4 deletions
diff --git a/org.eclipse.jface.text/src/org/eclipse/jface/text/source/LineNumberRulerColumn.java b/org.eclipse.jface.text/src/org/eclipse/jface/text/source/LineNumberRulerColumn.java
index a4cc78451..87491b014 100644
--- a/org.eclipse.jface.text/src/org/eclipse/jface/text/source/LineNumberRulerColumn.java
+++ b/org.eclipse.jface.text/src/org/eclipse/jface/text/source/LineNumberRulerColumn.java
@@ -101,10 +101,6 @@ public class LineNumberRulerColumn implements IVerticalRulerColumn {
layout(event.getViewerRedrawState());
return;
}
-
- boolean viewerCompletelyShown= isViewerCompletelyShown();
- if (viewerCompletelyShown || event.getDocumentEvent() == null)
- postRedraw();
}
}

Back to the top