Interface IEditor
A standard Windows multi-line editor.
public interface IEditor : IUiObjectWithLayoutInfo, IUiObjectBase, IUiObjectBase, IClickable, IDoubleClickable, ILocationInfoProvider, ISupportSendKeys, ISupportDragAndDrop, IEnabledProvider, IVisibleProvider, ITestObject, ITestObjectDescriber
- Inherited Members
- Extension Methods
Properties
CursorColumn
The character position where the cursor is located. (zero-based)
int CursorColumn { get; }
Property Value
CursorLine
The line where the cursor is located. (0-based)
int CursorLine { 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 the multi-line editor.
void SetCursorPosition(int line, int charPos)