The Document type exposes the following members.

Methods

  Name Description
Public method BeginUndo
Begins grouping up editing actions into a single UNDO action.
Public method ClearHistory
Clears all stacked edit histories.
Public method EndUndo
Ends grouping up editing actions.
Public method FindMatchedBracket(Int32)
Finds matched bracket from specified index.
Public method FindMatchedBracket(Int32, Int32)
Finds matched bracket from specified index.
Public method FindNext(String, Int32)
Finds a text pattern.
Public method FindNext(Regex, Int32)
Finds a text pattern by regular expression.
Public method FindNext(String, Int32, Boolean)
Finds a text pattern.
Public method FindNext(String, Int32, Int32)
Finds a text pattern.
Public method FindNext(Regex, Int32, Int32)
Finds a text pattern by regular expression.
Public method FindNext(String, Int32, Int32, Boolean)
Finds a text pattern.
Public method FindPrev(String, Int32)
Finds a text pattern backward.
Public method FindPrev(Regex, Int32)
Finds a text pattern backward by regular expression.
Public method FindPrev(String, Int32, Boolean)
Finds a text pattern backward.
Public method FindPrev(String, Int32, Int32)
Finds a text pattern backward.
Public method FindPrev(Regex, Int32, Int32)
Finds a text pattern backward by regular expression.
Public method FindPrev(String, Int32, Int32, Boolean)
Finds a text pattern backward.
Public method GetCaretIndex
Gets caret location by logical line/column index.
Public method GetCharAt
Gets a character at specified index.
Public method GetCharClass
Gets class of the character at given index.
Public method GetCharIndexFromLineColumnIndex
Calculates char-index from logical line/column index.
Public method GetEnumerator
Gets content enumerator.
Public method GetLineColumnIndexFromCharIndex
Calculates logical line/column index from char-index.
Public method GetLineContent
Gets content of the logical line.
Public method GetLineContentWithEolCode
Gets content of the logical line without trimming EOL code.
Public method GetLineDirtyState
Gets dirty state of specified line.
Public method GetLineEndIndexFromCharIndex
Gets index of the end position of the line which contains a character at the specified index.
Public method GetLineHeadIndex
Gets index of the first character in specified logical line.
Public method GetLineHeadIndexFromCharIndex
Gets index of the first char in the logical line which contains the specified char-index.
Public method GetLineIndexFromCharIndex
Calculates logical line index from char-index.
Public method GetLineLength(Int32)
Gets length of the logical line.
Public method GetLineLength(Int32, Boolean)
Gets length of the logical line.
Public method GetLineLengthFromCharIndex(Int32)
Gets length of the logical line which contains the specified char-index.
Public method GetLineLengthFromCharIndex(Int32, Boolean)
Gets length of the logical line which contains the specified char-index.
Public method GetMarkedRange
Gets range of text part which includes specified index which is marked with specified ID.
Public method GetMarkedText
Gets text part marked with specified ID at specified index.
Public method GetMarkingBitMaskAt
Gets marking IDs at specified index as a bit mask (internal representation).
Public method GetMarkingsAt
List up all markings at specified index and returns their IDs as an array.
Public method GetSelection
Gets range of current selection. Note that this method does not return [anchor, caret) pair but [begin, end) pair.
Public method GetTextInRange(Int32, Int32)
Gets text in the range [begin, end).
Public method GetTextInRange(Int32%, Int32%)
Gets text in the range [begin, end).
Public method GetTextInRange(Int32, Int32, Int32, Int32)
Gets text in the range [ (fromLineIndex, fromColumnIndex), (toLineIndex, toColumnIndex) ).
Public method GetWordAt(Int32)
Gets a word at specified index.
Public method GetWordAt(Int32, Int32%, Int32%)
Gets a word at specified index.
Public method IsCDATA
Gets whether the character at specified index is just a data without meaning on grammar.
Public method Static member IsCombiningCharacter(Char)
Determines whether given character is a combining character or not.
Public method IsCombiningCharacter(Int32)
Determines whether given character is a combining character or not.
Public method Static member IsCombiningCharacter(String, Int32)
Determines whether given character is a combining character or not.
Public method Static member IsHighSurrogate
Determines whether given char is a high surrogate or not.
Public method Static member IsLowSurrogate
Determines whether given char is a low surrogate or not.
Public method IsMarked
Determine whether specified index is marked with specified marking ID or not.
Public method IsNotDividableIndex(Int32)
Determines whether text can not be divided at given index or not.
Public method Static member IsNotDividableIndex(String, Int32)
Determines whether text can not be divided at given index or not.
Public method Mark
Marks up specified text range.
Public method NextGraphemeClusterIndex
Gets index of next grapheme cluster.
Public method PrevGraphemeClusterIndex
Gets index of previous grapheme cluster.
Public method Redo
Executes REDO.
Public method Replace(String)
Replaces current selection.
Public method Replace(String, Int32, Int32)
Replaces specified range [begin, end) of the content into the given string.
Public method SetCaretIndex
Sets caret location by logical line/column index. Note that calling this method will release selection.
Public method SetCharClass
Sets class of the character at given index.
Public method SetSelection(Int32, Int32)
Sets selection range.
Public method SetSelection(Int32, Int32, IView)
Sets selection range.
Public method Undo
Executes UNDO.
Public method Unmark
Removes specified type of marking information at specified range.

See Also