MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / clearSearchQuery

Function clearSearchQuery

src/handlers/quickTools.js:794–799  ·  view source on GitHub ↗
(editor)

Source from the content-addressed store, hash-verified

792}
793
794function clearSearchQuery(editor) {
795 if (!editor) return;
796 editor.dispatch({
797 effects: setSearchQuery.of(new SearchQuery({ search: "" })),
798 });
799}
800
801function getSelectedText(editor) {
802 if (!editor) return "";

Callers 1

removeSearchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected