void (@NotNull AnActionEvent e) { ui.saveSettings(); myModel.copyFrom(FindManager.getInstance(myProject).getFindInProjectModel()); FindUtil.initStringToFindWithSelection(myModel, e.getData(CommonDataKeys.EDITOR)); myModel.setReplaceState(replace); ui.initByModel(); }