selection

abstract var selection: Range?(source)

An optional selection to apply for the document in the editor.

Online Documentation