/// <summary> /// Painter_GDI constructor. /// </summary> /// <param name="control">The control that will use the Painter</param> public Painter_GDI(EditViewControl control) { Control = control; InitGraphics(); }
/// <summary> /// NativePainter constructor. /// </summary> /// <param name="control">The control that will use the Painter</param> public NativePainter(EditViewControl control) { Control = control; InitGraphics(); }
public virtual bool InsertAction(EditViewControl textArea, char ch) { textArea.InsertText(text); return false; }
/// <summary> /// Selection Constructor. /// </summary> /// <param name="control">Control that will use this selection</param> public Selection(EditViewControl control) { Control = control; Bounds = new TextRange(); }
/// <summary> /// Caret constructor /// </summary> /// <param name="control">The control that will use the caret</param> public Caret(EditViewControl control) { this.Position = new TextPoint(0, 0); Control = control; }
public override bool InsertAction(ICompletionData data, EditViewControl textArea, int insertionOffset, char key) { return(baseProvider.InsertAction(data, textArea, insertionOffset, key)); }
public bool InsertAction(EditViewControl textArea, char ch) { textArea.InsertText(text); return(false); }