public TextSelectionCommand(ITextViewReadonly textViewReader, SelectionView selectionView, CaretView caretView)
 {
     this.textViewReader = textViewReader;
     this.selectionView  = selectionView;
     this.caretView      = caretView;
     algorithm           = new TextSelectionAlgorithm(caretView, textViewReader, selectionView);
 }
Пример #2
0
 public BaseTextViewCommand(ITextViewReadonly textViewReader, ICaretViewReadonly caretViewReader)
 {
     this.textViewReader        = textViewReader;
     this.caretViewReader       = caretViewReader;
     BeforeCommandExecutedState = new ViewState();
     AfterCommandExecutedState  = new ViewState();
 }
Пример #3
0
 public SelectionView(ITextViewReadonly textViewReader) {
     isSelecting = false;
     this.textViewReader = textViewReader;
 }
Пример #4
0
 public UndoRemoveTextCommand(ITextViewReadonly textViewReader, ICaretViewReadonly caretViewReader) : base(textViewReader, caretViewReader)
 {
 }
Пример #5
0
 public SelectionView(ITextViewReadonly textViewReader)
 {
     isSelecting         = false;
     this.textViewReader = textViewReader;
 }
Пример #6
0
 public CaretMoveCommand(CaretView caretView, ITextViewReadonly textViewReader)
 {
     this.caretView      = caretView;
     this.textViewReader = textViewReader;
 }
Пример #7
0
 public TextSelectionAlgorithm(ICaretViewReadonly caretViewReader, ITextViewReadonly textViewReader, SelectionView parent)
 {
     this.caretViewReader = caretViewReader;
     this.textViewReader  = textViewReader;
     this.parent          = parent;
 }
 public UndoRemoveTextCommand(ITextViewReadonly textViewReader, ICaretViewReadonly caretViewReader) : base(textViewReader, caretViewReader) { }
Пример #9
0
 public CaretMoveCommand(CaretView caretView, ITextViewReadonly textViewReader) {
     this.caretView = caretView;
     this.textViewReader = textViewReader;
 }
 public TextSelectionCommand(ITextViewReadonly textViewReader, SelectionView selectionView, CaretView caretView) {
     this.textViewReader = textViewReader;
     this.selectionView = selectionView;
     this.caretView = caretView;
     algorithm = new TextSelectionAlgorithm(caretView, textViewReader, selectionView);
 }
Пример #11
0
 public BaseTextViewCommand(ITextViewReadonly textViewReader, ICaretViewReadonly caretViewReader) {
     this.textViewReader = textViewReader;
     this.caretViewReader = caretViewReader;
     BeforeCommandExecutedState = new ViewState();
     AfterCommandExecutedState = new ViewState();
 }
 public TextSelectionAlgorithm(ICaretViewReadonly caretViewReader, ITextViewReadonly textViewReader, SelectionView parent) {
     this.caretViewReader = caretViewReader;
     this.textViewReader = textViewReader;
     this.parent = parent;
 }