IEdit Interface
Definition
Represents properties and methods used for editing the text.
Syntax
public interface IEdit
Properties
IndentOptions | When implemented by a class, gets or sets |
MaxLength | When implemented by a class, specifies the maximum number of characters that can be entered into the edit control. |
Modified | When implemented by a class, gets or sets a value indicating whether the control's text content is modified. |
Overwrite | When implemented by a class, gets or sets a value indicating whether the inserted text overwrites existing text. |
ReadOnly | When implemented by a class, gets or sets a value indicating whether the control's content is read-only. |
SingleLineMode | When implemented by a class, gets or sets a value indicating whether the control accepts only one line of the text. |
Methods
BreakLine(Boolean) | When implemented by a class, breaks current line into two lines. |
CanDeleteBlock(Rectangle) | |
DeleteBlock(Rectangle, Boolean) | When implemented by a class, deletes a specified block of characters. |
DeleteLeft(Int32, Boolean) | When implemented by a class, deletes a specified number of characters to the left of the active point. |
DeleteRight(Int32, Boolean) | When implemented by a class, deletes a specified number of characters to the right of the active point. |
GetIndentString() | When implemented by a class, gets indentation string at current position. |
IndentLine() | When implemented by a class, inserts spaces to the start of the current line.
Number of spaces is calculated from indent options or |
IndentLine(String, Boolean) | When implemented by a class, inserts white space to the start of the current line. white space string Indicates if the change needs to be translated to the parser |
Insert(String, Boolean) | When implemented by a class, inserts the given string at the specified location. |
InsertBlock(ITextStrings, Boolean) | When implemented by a class, inserts the given string collection at the specified location. |
InsertBlock(String, Boolean) | When implemented by a class, inserts the given string at the specified location. |
InsertBlock(String[], Boolean) | When implemented by a class, inserts the given string array at the specified location. |
InsertBlock(String[], Boolean, Boolean) | When implemented by a class, inserts the given string array at the specified location. |
InsertFromFile(String) | When implemented by a class, inserts the file text content at the specified location. |
LineIsHidden(Int32) | When implemented by a class, determines whether the given line is hidden. |
LineIsReadonly(Int32) | When implemented by a class, determines whether the given line is readonly. |
NewLine() | When implemented by a class, inserts a line break at the current position. |
NewLine(ref String, Boolean) | When implemented by a class, inserts a line break at the current position with indentation. |
NewLineAbove() | When implemented by a class, inserts a line break above the current position. |
NewLineBelow() | When implemented by a class, inserts a line break below the current position. |
PositionIsReadonly(Point) | When implemented by a class, determines whether the text at given position is readonly. |
ResetIndentOptions() | When implemented by a class, resets the |
ResetMaxLength() | When implemented by a class, resets the |
ResetModified() | When implemented by a class, resets the |
ResetOverWrite() | When implemented by a class, resets the |
ResetReadOnly() | When implemented by a class, resets the |
ResetSingleLineMode() | When implemented by a class, resets the |
SetLineHidden(Int32, Boolean) | When implemented by a class, sets hidden state for the given line. |
SetLineHidden(Int32[], Boolean) | When implemented by a class, sets hidden state for the given line. |
SetLineReadonly(Int32, Boolean) | When implemented by a class, sets readonly state for the given line. |
SetLineReadonly(Int32[], Boolean) | When implemented by a class, sets readonly state for the given line. |
UnBreakLine(Boolean) | When implemented by a class, concatenates lines at current position. |