TextSelection Methods
Include Protected Members
Include Inherited Members
The TextSelection type exposes the following members.
Methods
Name | Description | |
---|---|---|
Backspace | Infrastructure. Microsoft Internal Use Only. | |
Cancel | Infrastructure. Microsoft Internal Use Only. | |
ChangeCase | Changes the case of the text selection. | |
CharLeft | Moves the object the specified number of characters to the left. | |
CharRight | Moves the object the specified number of characters to the right. | |
ClearBookmark | Clears any unnamed bookmarks in the current text buffer line. | |
Collapse | Collapses the text selection to the active point. | |
Copy | Copies the text selection to the clipboard. | |
Cut | Copies the text selection to the clipboard and deletes it from its original location. | |
Delete | Deletes the text selection. | |
DeleteLeft | Deletes a specified number of characters to the left of the active point. | |
DeleteWhitespace | Deletes the empty characters (white space) horizontally or vertically around the current location in the text buffer. | |
DestructiveInsert | Inserts text, overwriting the existing text. | |
EndOfDocument | Moves the object to the end of the document. | |
EndOfLine | Moves the object to the end of the current line. | |
FindPattern | Searches for the given pattern from the active point to the end of the document. | |
FindText | Searches for the given text from the active point to the end of the document. | |
GotoLine | Moves to the beginning of the indicated line and selects the line if requested. | |
Indent | Indents the selected lines by the given number of indentation levels. | |
Insert | Inserts the given string at the current insertion point. | |
InsertFromFile | Inserts the contents of the specified file at the current location in the buffer. | |
LineDown | Moves the insertion point of the text selection down the specified number of lines. | |
LineUp | Moves the insertion point of the text selection up the specified number of lines. | |
MoveTo | Infrastructure. Microsoft Internal Use Only. | |
MoveToAbsoluteOffset | Moves the active point to the given 1-based absolute character offset. | |
MoveToDisplayColumn | Moves the active point to the indicated display column. | |
MoveToLineAndOffset | Moves the active point to the given position. | |
MoveToPoint | Moves the active point to the given position. | |
NewLine | Inserts a line break character at the active point. | |
NextBookmark | Moves to the location of the next bookmark in the document. | |
OutlineSection | Creates an outlining section based on the current selection. | |
PadToColumn | Fills the current line in the buffer with empty characters (white space) to the given column. | |
PageDown | Moves the active point a specified number of pages down in the document, scrolling the view. | |
PageUp | Moves the active point a specified number of pages up in the document, scrolling the view. | |
Paste | Inserts the clipboard contents at the current location. | |
PreviousBookmark | Moves the text selection to the location of the previous bookmark in the document. | |
ReplacePattern | Replaces matching text throughout an entire text document. | |
ReplaceText | Infrastructure. Microsoft Internal Use Only. | |
SelectAll | Selects the entire document. | |
SelectLine | Selects the line containing the active point. | |
SetBookmark | Sets an unnamed bookmark on the current line in the buffer. | |
SmartFormat | Formats the selected lines of text based on the current language. | |
StartOfDocument | Moves the insertion point to the beginning of the document. | |
StartOfLine | Moves the object to the beginning of the current line. | |
SwapAnchor | Exchanges the position of the active and the anchor points. | |
Tabify | Converts spaces to tabs in the selection according to your tab settings. | |
Unindent | Removes indents from the text selection by the number of indentation levels given. | |
Untabify | Converts tabs to spaces in the selection according to the user's tab settings. | |
WordLeft | Moves the text selection left the specified number of words. | |
WordRight | Moves the text selection right the specified number of words. |
Top