StartMarkAction (@NotNull Project project) { for (FileEditor fileEditor : FileEditorManager.getInstance(project).getAllEditors()) { if (fileEditor instanceof TextEditor) { StartMarkAction startMarkAction = ((TextEditor)fileEditor).getEditor().getUserData(START_MARK_ACTION_KEY); if (startMarkAction != null) { return startMarkAction; } } } return null; }