Interface IEditor
A text area object in a SAP GUI for Windows application.
public interface IEditor : IElement, ITestObject, ITestObjectDescriber, ILocationInfoProvider, ISupportsNativeObject, IEnabledProvider
- Inherited Members
- Extension Methods
Properties
Text
The text string value of the text area.
string Text { get; }
Property Value
Methods
DoubleClick()
Double-clicks inside the text area at the current cursor position.
void DoubleClick()
Select(uint, uint)
Selects the specified section of text in the text area and positions the cursor at the end of the selection.
void Select(uint startPos, uint endPos)
Parameters
startPosuintThe 0-based position of the first character of the text to be selected.
endPosuintThe 0-based position of the character that ends the selection.
Remarks
The text is selected from the character at the start position and up to, but not including, the character at the end position.
The cursor is placed at the end position.
SetCursorPosition(uint)
Positions the cursor at the specified position.
void SetCursorPosition(uint pos)
Parameters
posuintThe 0-based character position.
SetText(string)
Sets the specified text in the text area.
void SetText(string text)
Parameters
textstringThe text.
SetUnprotectedTextPart(uint, string)
Sets the specified text in the unprotected sections of the text area.
void SetUnprotectedTextPart(uint sectionNumber, string text)