• HOME
  • PRODUCTS
  • DEMOS
  • BUY
  • BLOG
  • FORUM
  • DOCUMENTATION
  • ABOUT
  • FREE EVALUATION
Search Results for

    Show / Hide Table of Contents

    IEdit Interface

    Definition

    Namespace: Alternet.Editor.TextSource
    Assembly: Alternet.Editor.v8.dll

    Represents properties and methods used for editing the text.

    Syntax
    public interface IEdit

    Properties

    IndentOptions

    When implemented by a class, gets or sets Alternet.Editor.IndentOptions for this class, allowing to customize behavior of Edit control when user presses Enter to insert new text line.

    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 SyntaxParser if assigned.

    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 IndentOptions to the default value.

    ResetMaxLength()

    When implemented by a class, resets the MaxLength to the default value.

    ResetModified()

    When implemented by a class, resets the Modified to the default value.

    ResetOverWrite()

    When implemented by a class, resets the OverWrite to the default value.

    ResetReadOnly()

    When implemented by a class, resets the Readonly to the default value.

    ResetSingleLineMode()

    When implemented by a class, resets the SingleLineMode to the default value.

    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.

    In This Article
    Back to top Copyright AlterNET Software Download PDF