RichEditSelection.goToDocumentEnd Method
In This Article
Moves the cursor to the end of the active sub-document and allows you to extend the selection.
#Declaration
TypeScript
goToDocumentEnd(
extendSelection?: boolean
): void
#Parameters
Name | Type | Description |
---|---|---|
extend |
boolean |
|
#Remarks
// Inserts text at the end of the active sub-document
richEdit.selection.goToDocumentEnd(false);
richEdit.commands.insertText.execute('The end.');
Refer to the following section for more information: Client Selection.
See Also