void (@NotNull AnActionEvent e) { FindModel findModel = e.getRequiredData(EditorSearchSession.SESSION_KEY).getFindModel(); findModel.copyFrom(FindManager.getInstance(e.getProject()).getPreviousFindModel()); }