mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 06:05:01 +07:00
IDEA-77663: Lazy bookmark manager loading causes bookmarks to appear in editor only after some bookmark actions have been called. Also, ctrl/cmd+click bookmark toggling is re-done (never actually worked)
This commit is contained in:
@@ -289,6 +289,10 @@ public class BreakpointManager implements JDOMExternalizable {
|
||||
if (event.getButton() != 1) {
|
||||
return;
|
||||
}
|
||||
if (e.getMouseEvent().isControlDown() || e.getMouseEvent().isMetaDown()) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (XDebuggerUtil.getInstance().canPutBreakpointAt(myProject, FileDocumentManager.getInstance().getFile(document), line)) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user