MCPcopy Index your code
hub / github.com/czottmann/obsidian-blockquote-levels / decreaseLevelForSelections

Method decreaseLevelForSelections

main.ts:75–80  ·  view source on GitHub ↗
(editor: Editor)

Source from the content-addressed store, hash-verified

73 }
74
75 private decreaseLevelForSelections(editor: Editor) {
76 this.processSelections(
77 editor,
78 (line: string) => line.replace(/^>\s*/, ""),
79 );
80 }
81
82 private processSelections(editor: Editor, lineProcessor: LineProcessor) {
83 this.expandAndSortSelections(editor);

Callers 2

onloadMethod · 0.95
decreaseLevelForLineMethod · 0.95

Calls 1

processSelectionsMethod · 0.95

Tested by

no test coverage detected