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

Function insert

src/sidebarApps/searchInFiles/cmResultView.js:403–406  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

401 });
402 },
403 insert(text) {
404 if (!text) return;
405 view.dispatch({ changes: { from: view.state.doc.length, insert: text } });
406 },
407 setGhostText(text) {
408 isGhostText = true;
409 view.dispatch({

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected