Skip to main content
A newer version of this page is available. .

RichEditSelection.goToDocumentStart Method

Moves the cursor to the start of the document and allows you to extend the selection.

Declaration

goToDocumentStart(
    extendSelection?: boolean
): void

Parameters

Name Type Description
extendSelection boolean

true to extend the selection; otherwise, false.

Remarks

Usage example:

richEdit.selection.goToDocumentStart(true);
See Also