void (RangeSearchTask caller, long lastScannedPageNumber) { SearchTaskOptions options = caller.getOptions(); if (!caller.isShouldStop()) { if (options.searchForwardDirection) { setRightBorderPageNumber(lastScannedPageNumber); } else { setLeftBorderPageNumber(lastScannedPageNumber); } setAdditionalStatusText(EditorBundle.message("large.file.editor.message.search.complete")); } callScheduledUpdate(); fireSearchFinished(); }