void (@NotNull FindModel model) { FindModel prev = FindManager.getInstance(getProject()).getPreviousFindModel(); if (prev == null) { prev = new FindModel(); } if (!model.getStringToFind().isEmpty()) { prev.copyFrom(model); FindManager.getInstance(getProject()).setPreviousFindModel(prev); } }