Skip to content

Commit 374a755

Browse files
committed
The new commands has been created:
1.Create Tag for occurrences 2.Remove Tag for occurrences
1 parent 7d36580 commit 374a755

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/highlighter.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ export function setHighlightOccurrences(context:any) {
212212
changes,
213213
});
214214

215-
new Notice(`Permanently highlighted ${matches.length} for ${selectedText} occurrences.`);
215+
new Notice(`Permanently highlighted ${matches.length} for "${selectedText}" occurrences.`);
216216
}
217217
export function removeHighlightOccurrences(context:any) {
218218
const activeView = context.app.workspace.getActiveViewOfType(MarkdownView);
@@ -269,7 +269,7 @@ export function removeHighlightOccurrences(context:any) {
269269
changes,
270270
});
271271

272-
new Notice(`Removed highlighting from ${matches.length} occurrences of ${selectedText}.`);
272+
new Notice(`Removed highlighting from ${matches.length} occurrences of "${selectedText}".`);
273273
}
274274
//endregion
275275

0 commit comments

Comments
 (0)