void () { myComponent.update(myFindModel.getStringToFind(), myFindModel.getStringToReplace(), myFindModel.isReplaceState(), myFindModel.isMultiline()); updateEmptyText(); myLivePreviewController.setTrackingSelection(!myFindModel.isGlobal()); }