mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
do not show invalid breakpoints when rendering gutter events
This commit is contained in:
@@ -225,7 +225,7 @@ public class PositionHighlighter {
|
||||
}
|
||||
|
||||
if (breakpoint instanceof BreakpointWithHighlighter) {
|
||||
if (((BreakpointWithHighlighter)breakpoint).isVisible()) {
|
||||
if (((BreakpointWithHighlighter)breakpoint).isVisible() && breakpoint.isValid()) {
|
||||
breakpoint.reload();
|
||||
final SourcePosition sourcePosition = ((BreakpointWithHighlighter)breakpoint).getSourcePosition();
|
||||
if (sourcePosition == null || sourcePosition.getLine() != lineIndex) {
|
||||
|
||||
Reference in New Issue
Block a user