void () { FileEditor selectedEditor = FileEditorManager.getInstance(myProject).getSelectedEditor(); if (selectedEditor != null) { ApplicationManager.getApplication().invokeLater(() -> selectInAlarm(selectedEditor), ModalityState.nonModal(), myProject.getDisposed()); } }