Пример #1
0
 /// <summary>
 /// Painter_GDI constructor.
 /// </summary>
 /// <param name="control">The control that will use the Painter</param>
 public Painter_GDI(EditViewControl control)
 {
     Control = control;
     InitGraphics();
 }
Пример #2
0
 /// <summary>
 /// NativePainter constructor.
 /// </summary>
 /// <param name="control">The control that will use the Painter</param>
 public NativePainter(EditViewControl control)
 {
     Control = control;
     InitGraphics();
 }
Пример #3
0
		public virtual bool InsertAction(EditViewControl textArea, char ch)
		{
			textArea.InsertText(text);
			return false;
		}
Пример #4
0
 /// <summary>
 /// Selection Constructor.
 /// </summary>
 /// <param name="control">Control that will use this selection</param>
 public Selection(EditViewControl control)
 {
     Control = control;
     Bounds  = new TextRange();
 }
Пример #5
0
 /// <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);
 }