tab.getText(),
win.getPattern(),
win.isRegx(),
win.isCaseSensitive());
SearchResult rs;
try {
rs = SearchService.instance().compileSearch(sEntity);
} catch (ServiceException e) {
BaseController.instance().showErrorMessage(e);
return;
}
int ccPos = tab.getCarretPosition();
SearchResult.SearchRangeResult srr = null;
Iterator<SearchRangeResult> it = rs.getIterator();
if (!it.hasNext()) {
BaseController.instance().showWarningMessage("String not found");
return;
}