@RequiresEdt
  public void showSearchResult(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();
  }
@RequiresEdt
  public void showSearchResult(SearchResult searchResult)