Interface IEditor
A .NET Windows Forms multi-line edit box.
public interface IEditor : IUiObjectBase, IUiObjectBase, IClickable, IDoubleClickable, ILocationInfoProvider, ISupportSendKeys, ISupportDragAndDrop, IEnabledProvider, IVisibleProvider, ISupportsNativeObject, ITestObject, ITestObjectDescriber
- Inherited Members
- Extension Methods
Properties
CursorColumn
The character the cursor is on in the line the cursor is on (0-based).
int CursorColumn { get; }
Property Value
CursorLine
The line the cursor is on in this object (0-based).
int CursorLine { get; }
Property Value
ErrorText
Returns the tooltip text of the error icon associated with this object.
string ErrorText { get; }
Property Value
SelectedText
The selected text in this control.
string SelectedText { get; }
Property Value
Methods
Select(int, int, int, int)
Selects text in a multi-line editor.
void Select(int fromLine, int fromCharPos, int toLine, int toCharPos)
Parameters
fromLineintThe line at which the selection starts, inclusive.
fromCharPosintThe character position at which the selection starts, inclusive.
toLineintThe line at which the selection ends, inclusive.
toCharPosintThe character position at which the selection ends, inclusive.
SetCursorPosition(int, int)
Places the cursor at the specified point in this multi-line editor.
void SetCursorPosition(int line, int charPos)