boolean (@NotNull Editor editor) { ThreadingAssertions.assertEventDispatchThread(); Project project = editor.getProject(); return editor.getUserData(MOUSE_TRACKING_DISABLED_COUNT) != null || editor.getDocument().getUserData(MOUSE_TRACKING_DISABLED_COUNT) != null || project != null && project.getUserData(MOUSE_TRACKING_DISABLED_COUNT) != null; }