mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[editor] IJPL-52261 paint left extension correctly
GitOrigin-RevId: 1fae940fccd872c232ff8c7ebc538d5e76e42f20
This commit is contained in:
committed by
intellij-monorepo-bot
parent
7defd6a99b
commit
46cfb3792a
@@ -448,7 +448,7 @@ public final class EditorPainter implements TextDrawingCallback {
|
||||
boolean isSelection = result.second;
|
||||
|
||||
myBetweenLinesAttributes.put(visualLine, attributes);
|
||||
if (isSelection && shouldUseNewSelection() ) {
|
||||
if (isSelection && shouldUseNewSelection()) {
|
||||
mySelectionLinePainter.paintAllBlockInlaysAbove(visualLine);
|
||||
} else {
|
||||
paintBackground(attributes, startX, prevY, endX - startX, y - prevY);
|
||||
@@ -469,7 +469,7 @@ public final class EditorPainter implements TextDrawingCallback {
|
||||
&& it.isInSelection()
|
||||
&& myEditor.isRightAligned()) {
|
||||
mySelectionLinePainter.paintSelection(new Rectangle2D.Float(
|
||||
startX - selectionExtensionWidth, y,
|
||||
xEnd - selectionExtensionWidth, y,
|
||||
selectionExtensionWidth, myLineHeight
|
||||
));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user