MCPcopy
hub / github.com/marktext/marktext / replace

Method replace

packages/muya/src/muya.ts:161–163  ·  view source on GitHub ↗
(replaceValue: string, opt = { isSingle: true, isRegexp: false })

Source from the content-addressed store, hash-verified

159 }
160
161 replace(replaceValue: string, opt = { isSingle: true, isRegexp: false }) {
162 return this.editor.searchModule.replace(replaceValue, opt);
163 }
164
165 setContent(content: TState[] | string, autoFocus = false) {
166 this.editor.setContent(content, autoFocus);

Callers 15

normaliseFunction · 0.45
normalizeHtmlFunction · 0.45
wireFindReplaceFunction · 0.45
readOptionFromEventFunction · 0.45
main.tsFile · 0.45
ime.spec.tsFile · 0.45
loadMarkdownContentFunction · 0.45
QuickOpenCommandClass · 0.45
trimTrailingNewlinesFunction · 0.45
normalizeAcceleratorFunction · 0.45
fillTemplateFunction · 0.45
loadMoreFunction · 0.45

Calls

no outgoing calls

Tested by 1

normaliseFunction · 0.36