示例#1
0
 public void Clear()
 {
     //if(_owner!=null)
     //	_owner.ExitTextSelection();
     _state = SelectionState.Empty;
     _forwardPivot.Clear();
     _backwardPivot.Clear();
     _forwardDestination.Clear();
     _backwardDestination.Clear();
     //_disabledTemporary = false;
 }
示例#2
0
 public void Clear()
 {
     if (_owner != null)
     {
         _owner.ExitTextSelection();
     }
     _owner     = null;
     _state     = SelectionState.Empty;
     _pivotType = RangeType.Char;
     _forwardPivot.Clear();
     _backwardPivot.Clear();
     _forwardDestination.Clear();
     _backwardDestination.Clear();
     _disabledTemporary = false;
 }