94. selectText

Parameter syntax:

[ 'word'|'line'|'all' ]?
word

Selects the characters of the word containing caret.

line

Selects the text line containing caret.

all

Selects all the characters of the document.

Parameter is absent

Selects all the characters of the textual node (text, comment, processing instruction) containing caret.