mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-24742 When execution point is highlighted using border style instead of color, an extra line is drawn lower than current line
This commit is contained in:
@@ -144,9 +144,14 @@ public class BorderEffect {
|
||||
border.horizontalTo(editor.getMaxWidthInRange(startOffset, endOffset) - 1);
|
||||
border.verticalRel(height - 1);
|
||||
border.horizontalTo(endX);
|
||||
border.verticalRel(editor.getLineHeight());
|
||||
border.horizontalTo(0);
|
||||
border.verticalRel(-height + 1);
|
||||
if (endX > 0) {
|
||||
border.verticalRel(editor.getLineHeight());
|
||||
border.horizontalTo(0);
|
||||
border.verticalRel(-height + 1);
|
||||
}
|
||||
else {
|
||||
border.verticalTo(startY + editor.getLineHeight() - 1);
|
||||
}
|
||||
border.horizontalTo(startX);
|
||||
border.verticalTo(startY);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user