Clear the current text selection without copying.
()
| 1193 | |
| 1194 | /** Clear the current text selection without copying. */ |
| 1195 | clearTextSelection(): void { |
| 1196 | if (!hasSelection(this.selection)) return; |
| 1197 | clearSelection(this.selection); |
| 1198 | this.notifySelectionChange(); |
| 1199 | } |
| 1200 | |
| 1201 | /** |
| 1202 | * Set the search highlight query. Non-empty → all visible occurrences |
no test coverage detected