selectAll

Selects the whole document at once.

Usage

// Select the whole document
editor.commands.selectAll()