mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Do not show invisible line breakpoint on gutter (IDEA-66454)
This commit is contained in:
@@ -225,10 +225,12 @@ public class PositionHighlighter {
|
||||
}
|
||||
|
||||
if (breakpoint instanceof BreakpointWithHighlighter) {
|
||||
breakpoint.reload();
|
||||
final SourcePosition sourcePosition = ((BreakpointWithHighlighter)breakpoint).getSourcePosition();
|
||||
if (sourcePosition == null || sourcePosition.getLine() != lineIndex) {
|
||||
eventsOutOfLine.add(eventDescriptor);
|
||||
if (((BreakpointWithHighlighter)breakpoint).isVisible()) {
|
||||
breakpoint.reload();
|
||||
final SourcePosition sourcePosition = ((BreakpointWithHighlighter)breakpoint).getSourcePosition();
|
||||
if (sourcePosition == null || sourcePosition.getLine() != lineIndex) {
|
||||
eventsOutOfLine.add(eventDescriptor);
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user