MCPcopy Create free account
hub / github.com/Noumena-Network/code / clearTextSelection

Method clearTextSelection

src/ink/ink.tsx:1195–1199  ·  view source on GitHub ↗

Clear the current text selection without copying.

()

Source from the content-addressed store, hash-verified

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

Callers 2

AlternateScreenFunction · 0.80
useSelectionFunction · 0.80

Calls 3

notifySelectionChangeMethod · 0.95
hasSelectionFunction · 0.85
clearSelectionFunction · 0.85

Tested by

no test coverage detected