selectedDOMRange The range of the current selection. Declarationvar selectedDOMRange: DOMRange! { get } Discussionnil if nothing is selected. See AlsoRelated DocumentationeditableDOMRange(for:)Selecting Content in the DocumentsetSelectedDOMRange(_:affinity:)selectionAffinity