void (@NotNull AnAction action, @NotNull AnActionEvent event, @NotNull AnActionResult result) { EditorLastActionTracker tracker = getInstance(); tracker.myLastActionId = getActionId(action); tracker.myLastEditor = tracker.myCurrentEditor; tracker.myCurrentEditor = null; }