use of com.intellij.find.FindManager in project intellij-community by JetBrains.
the class HighlightHandlerBase method setupFindModel.
static void setupFindModel(final Project project) {
final FindManager findManager = FindManager.getInstance(project);
FindModel model = findManager.getFindNextModel();
if (model == null) {
model = findManager.getFindInFileModel();
}
model.setSearchHighlighters(true);
findManager.setFindWasPerformed();
findManager.setFindNextModel(model);
}
Aggregations