MCPcopy Create free account
hub / github.com/UNLINEARITY/Obsidian-CodeSpace / clear

Method clear

src/code_view.ts:1400–1406  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1398 }
1399
1400 clear(): void {
1401 if (this.editorView) {
1402 this.editorView.dispatch({
1403 changes: { from: 0, to: this.editorView.state.doc.length, insert: "" }
1404 });
1405 }
1406 }
1407}

Callers 2

renderDropdownMethod · 0.45
onOpenMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected