mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-207315 Run to cursor highlighting appears in diff
This commit is contained in:
@@ -370,7 +370,10 @@ public class XDebuggerManagerImpl extends XDebuggerManager implements Persistent
|
||||
RangeHighlighter myCurrentHighlighter;
|
||||
|
||||
boolean isEnabled(@NotNull EditorMouseEvent e) {
|
||||
if (e.getArea() != EditorMouseEventArea.LINE_NUMBERS_AREA || e.getEditor().getProject() != myProject) {
|
||||
Editor editor = e.getEditor();
|
||||
if (e.getArea() != EditorMouseEventArea.LINE_NUMBERS_AREA ||
|
||||
editor.getProject() != myProject ||
|
||||
!EditorUtil.isRealFileEditor(editor)) {
|
||||
return false;
|
||||
}
|
||||
XDebugSessionImpl session = getCurrentSession();
|
||||
|
||||
Reference in New Issue
Block a user