Selection Object¶
Properties¶
Retrieves the average of the numbers contained in the selection. | |
Retrieves the number of selections in the current document. | |
Indicates whether the active point is equal to the bottom point. | |
Indicates whether the active point is equal to the anchor point. | |
Sets or retrieves a flag indicating the selection mode. | |
Sets or retrieves a flag indicating the overwrite or insert mode. | |
Retrieves the sum of the numbers contained in the selection. | |
Retrieves the selected text, or inserts a string at the cursor position. |
Methods¶
Searches for multiple strings. | |
Replaces multiple strings. | |
Changes the case of the selected text. | |
Changes the width of the selected text. | |
Moves the cursor the specified number of characters to the left. | |
Moves the cursor the specified number of characters to the right. | |
Clears a bookmark on the current line. | |
Collapses the selection to the active point. | |
Copies the selection to the Clipboard. | |
Copies the hyperlink at the cursor to the Clipboard. | |
Moves the selected text to the Clipboard. | |
Deletes the contents of the selection. | |
Deletes the contents of the selection, or the specified number of characters to the left of the cursor. | |
Inserts text, overwriting the existing text. | |
Duplicates the current line. | |
Moves the cursor to the end of the document. | |
Moves the cursor to the end of the current line. | |
Extracts frequently used strings into a new document. | |
Searches for the specified string. | |
Repeats the previous search for the same string. | |
Inserts or deletes newline characters in the selection. | |
Returns the column number of the cursor position. | |
Returns the line number of the cursor position. | |
Returns the column number of the origin point of the selection. | |
Returns the line number of the origin point of the selection. | |
Returns the column number of the bottom of the selection. | |
Returns the line number of the bottom of the selection. | |
Returns the column number of the top of the selection. | |
Returns the line number of the top of the selection. | |
Moves the cursor to the corresponding bracket / brace. | |
Indents the selected lines by the specified number of indentation levels. | |
Inserts the current time and date. | |
Inserts the contents of the specified file at the cursor position. | |
Moves the cursor down a specified number of lines. | |
Inserts an empty line between two lines. | |
Moves the cursor up a specified number of lines. | |
Inserts the specified number of newline characters at the cursor. | |
Moves to the next bookmark in the document. | |
Opens the hyperlink at the cursor. | |
Moves the cursor the specified number of pages down in the document. | |
Moves the cursor the specified number of pages up in the document. | |
Inserts the Clipboard contents at the cursor. | |
Moves to the previous bookmark in the document. | |
Replaces a string in the document. | |
Selects the entire document. | |
Selects specified columns in a CSV mode. | |
Selects a line at the cursor. | |
Selects an entire word at the cursor. | |
Moves the cursor position and optionally extends the selection. | |
Sets the origin point of the selection. | |
Sets a bookmark at the cursor position. | |
Sorts or removes duplicate split strings in the selection. | |
Moves the cursor to the start of the document. | |
Moves the cursor to the start of the line. | |
Converts spaces to tabs in the selection. | |
Jumps to a tag at the cursor. | |
Removes indents from the selected text by the specified number of indentation levels. | |
Converts tabs to spaces in the selection. | |
Moves the cursor the specified number of words to the left. | |
Moves the cursor the specified number of words to the right. |
Version¶
Supported on EmEditor Professional Version 4.00 or later.