Clear the current text selection without copying.
()
| 1040 | |
| 1041 | /** Clear the current text selection without copying. */ |
| 1042 | clearTextSelection(): void { |
| 1043 | if (!hasSelection(this.selection)) return; |
| 1044 | clearSelection(this.selection); |
| 1045 | this.notifySelectionChange(); |
| 1046 | } |
| 1047 | |
| 1048 | /** |
| 1049 | * Set the search highlight query. Non-empty → all visible occurrences |
no test coverage detected