Merge insert-notice wording tweak

This commit is contained in:
Scott Tomaszewski 2026-06-02 22:56:06 -04:00
commit e661205654
2 changed files with 4 additions and 3 deletions

View file

@ -77,5 +77,6 @@ non-obvious things:
`lastEditableLeaf`, filtered by `isBibleContentFile`) and `resolveInsertTarget()`
returns it. There's no public "leaves in MRU order" API — this `active-leaf-change`
tracking is the stand-in. Insert does **not** steal focus; it drops the text in and shows
an `Inserted … into <note>` notice. The right-click "Insert here" path is unaffected — it
always uses the clicked editor.
a `Passage … inserted into note …` notice (important when the target pane is in the
background). The right-click "Insert here" path is unaffected — it always uses the clicked
editor.

View file

@ -69,7 +69,7 @@ export async function runVerseAction(
return;
}
view.editor.replaceSelection(payload);
new Notice(`Inserted ${selection.label()} into ${view.file?.basename ?? "note"}`);
new Notice(`Passage ${selection.label()} inserted into note ${view.file?.basename ?? "note"}`);
return;
}