void () { if (myEditor.isDisposed()) return; setMatchesLimit(LivePreviewController.MATCHES_LIMIT); String text = myComponent.getSearchTextComponent().getText(); myFindModel.setStringToFind(text); updateResults(true); updateMultiLineStateIfNeeded(); }