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

Function setGhostText

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

Source from the content-addressed store, hash-verified

405 view.dispatch({ changes: { from: view.state.doc.length, insert: text } });
406 },
407 setGhostText(text) {
408 isGhostText = true;
409 view.dispatch({
410 changes: { from: 0, to: view.state.doc.length, insert: text || "" },
411 });
412 },
413 removeGhostText() {
414 isGhostText = false;
415 this.setValue("");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected