t(_caretPosition);     Select(oldCaretPosition, _caretPosition, args.IsShiftKeyPressed);    }    else    {     if(args.IsShiftKeyPressed)     {      var oldCaretPosition = _caretPosition;      _caretPosition = _lineCache.TryMoveRight(_caretPosition);       SelectFunc(oldCaretPosition, _caretPosition);     }     else     {      if(_selection != null)      {       _caretPosition = _selection.