void (SearchResult searchResult) { targetSelectionState.set(searchResult.startPosition.pageNumber, searchResult.startPosition.symbolOffsetInPage, searchResult.endPostion.pageNumber, searchResult.endPostion.symbolOffsetInPage); targetSelectionState.isExists = true; targetCaretPosition.pageNumber = searchResult.endPostion.pageNumber; targetCaretPosition.symbolOffsetInPage = searchResult.endPostion.symbolOffsetInPage; isNeedToShowCaret = true; requestUpdate(); }