SelectionState
enum SelectionState: String
The current state of selection in the editor
-
There is no selection in the editor
Declaration
Swift
case noSelection
-
There is a single selection in trhe editor
Declaration
Swift
case singleSelection
-
There are multiple selections in the editor
Note
Not used, I don’t know how to get multiple selections with TextKit 2Declaration
Swift
case multipleSelections