private void fireRealCaretPositionChanged(@NotNull CaretEvent event) {
    if (isRealCaretAndSelectionCanAffectOnTarget) {
      reflectRealToTargetCaretPosition();
      isNeedToShowCaret = true;

      if (editor.getSelectionModel().getSelectionEnd() == editor.getSelectionModel().getSelectionStart()) {
        targetSelectionState.isExists = false;
      }

      if (event.getOldPosition().line != event.getNewPosition().line) {
        IdeDocumentHistory docHistory = IdeDocumentHistory.getInstance(dataProvider.getProject());
        if (docHistory != null) {
          docHistory.includeCurrentCommandAsNavigation();
          docHistory.setCurrentCommandHasMoves();
        }
      }

      requestUpdate();
    }
  }
private void fireRealCaretPositionChanged(@NotNull CaretEvent event)