mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
highlighter validity check added (IDEA-74092 View Breakpoints functionality is broken in version 10.5.2)
This commit is contained in:
@@ -285,8 +285,9 @@ public class LineBreakpoint extends BreakpointWithHighlighter {
|
||||
}
|
||||
|
||||
private String getDisplayInfoInternal(boolean showPackageInfo, int totalTextLength) {
|
||||
final int lineNumber = (getHighlighter().getDocument().getLineNumber(getHighlighter().getStartOffset()) + 1);
|
||||
if(isValid()) {
|
||||
final RangeHighlighter highlighter = getHighlighter();
|
||||
if(highlighter.isValid() && isValid()) {
|
||||
final int lineNumber = (highlighter.getDocument().getLineNumber(highlighter.getStartOffset()) + 1);
|
||||
String className = getClassName();
|
||||
final boolean hasClassInfo = className != null && className.length() > 0;
|
||||
final boolean hasMethodInfo = myMethodName != null && myMethodName.length() > 0;
|
||||
|
||||
Reference in New Issue
Block a user