Whether there is an active text selection.
()
| 1234 | |
| 1235 | /** Whether there is an active text selection. */ |
| 1236 | hasTextSelection(): boolean { |
| 1237 | return hasSelection(this.selection); |
| 1238 | } |
| 1239 | |
| 1240 | /** |
| 1241 | * Subscribe to selection state changes. Fires whenever the selection |
no test coverage detected