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