diff --git a/bundles/org.eclipse.jface.text/src/org/eclipse/jface/text/source/MatchingCharacterPainter.java b/bundles/org.eclipse.jface.text/src/org/eclipse/jface/text/source/MatchingCharacterPainter.java index 3e23c79cb3e..85a2b460d5b 100644 --- a/bundles/org.eclipse.jface.text/src/org/eclipse/jface/text/source/MatchingCharacterPainter.java +++ b/bundles/org.eclipse.jface.text/src/org/eclipse/jface/text/source/MatchingCharacterPainter.java @@ -261,7 +261,6 @@ private void draw(final GC gc, final int offset) { final String matchingCharacter= fTextWidget.getText(offset, offset); Point characterBounds= gc.textExtent(matchingCharacter); - characterBounds.y-= 1; Rectangle hightlightingArea= Rectangle.of(offsetLocation, characterBounds); // draw box around line segment