public TextSelectionCommand(ITextViewReadonly textViewReader, SelectionView selectionView, CaretView caretView) { this.textViewReader = textViewReader; this.selectionView = selectionView; this.caretView = caretView; algorithm = new TextSelectionAlgorithm(caretView, textViewReader, selectionView); }
public BaseTextViewCommand(ITextViewReadonly textViewReader, ICaretViewReadonly caretViewReader) { this.textViewReader = textViewReader; this.caretViewReader = caretViewReader; BeforeCommandExecutedState = new ViewState(); AfterCommandExecutedState = new ViewState(); }
public SelectionView(ITextViewReadonly textViewReader) { isSelecting = false; this.textViewReader = textViewReader; }
public UndoRemoveTextCommand(ITextViewReadonly textViewReader, ICaretViewReadonly caretViewReader) : base(textViewReader, caretViewReader) { }
public CaretMoveCommand(CaretView caretView, ITextViewReadonly textViewReader) { this.caretView = caretView; this.textViewReader = textViewReader; }
public TextSelectionAlgorithm(ICaretViewReadonly caretViewReader, ITextViewReadonly textViewReader, SelectionView parent) { this.caretViewReader = caretViewReader; this.textViewReader = textViewReader; this.parent = parent; }