selectedText The currently selected text in the document. Declarationvar selectedText: String? { get }