void (final @NotNull AnActionEvent event) { final EditorWindow window = event.getRequiredData(EditorWindow.DATA_KEY); final VirtualFile file = window.getSelectedFile(); if (myCloseSource && file != null) { file.putUserData(EditorWindow.Companion.getDRAG_START_PINNED_KEY$intellij_platform_ide_impl(), window.isFilePinned(file)); window.closeFile(file, false, false); } window.split(myOrientation, true, file, true); }