Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorangelozerr2018-09-25 08:56:21 -0400
committerangelozerr2018-09-25 08:56:21 -0400
commit67368d55e67253dcc8e3122de09e7fe77486fe8c (patch)
treebd8c2cf43887810807b5df78d989fed3c6195e0a
parentc830a13682e366a197a96dfe1b7ae47053a2673a (diff)
downloadeclipse.platform.text-67368d55e67253dcc8e3122de09e7fe77486fe8c.tar.gz
eclipse.platform.text-67368d55e67253dcc8e3122de09e7fe77486fe8c.tar.xz
eclipse.platform.text-67368d55e67253dcc8e3122de09e7fe77486fe8c.zip
Change-Id: Idc133c1331751789c22687e796c37b6626a586af Signed-off-by: angelozerr <angelo.zerr@gmail.com>
-rw-r--r--org.eclipse.jface.text/src/org/eclipse/jface/text/source/inlined/LineHeaderAnnotation.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jface.text/src/org/eclipse/jface/text/source/inlined/LineHeaderAnnotation.java b/org.eclipse.jface.text/src/org/eclipse/jface/text/source/inlined/LineHeaderAnnotation.java
index 86001af2f..607544798 100644
--- a/org.eclipse.jface.text/src/org/eclipse/jface/text/source/inlined/LineHeaderAnnotation.java
+++ b/org.eclipse.jface.text/src/org/eclipse/jface/text/source/inlined/LineHeaderAnnotation.java
@@ -46,7 +46,7 @@ public class LineHeaderAnnotation extends AbstractInlinedAnnotation {
*/
public int getHeight() {
StyledText styledText= super.getTextWidget();
- return styledText.getLineHeight();
+ return styledText.getBaseline();
}
int getRedrawnCharacterHeight() {

Back to the top