From 96e247459d81b4a30e7ae767477ca31a62f8e594 Mon Sep 17 00:00:00 2001 From: quenousimporte <76260127+quenousimporte@users.noreply.github.com> Date: Tue, 28 Feb 2023 10:04:46 +0100 Subject: [PATCH] changed: save state in first stat position added: comment snippet --- main.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/main.js b/main.js index 901ef21..610dffb 100644 --- a/main.js +++ b/main.js @@ -377,6 +377,11 @@ var snippets = [ { command: "/*", insert: "• " +}, +{ + command: "//", + insert: "", + cursor: -4 }]; function ask(question) @@ -494,10 +499,10 @@ function showinfo() var tags = gettags(currentnote); showtemporaryinfo( [ + "saved: " + saved, "title: " + currentnote.title, "vault: " + currentvault, (tags ? "tags: " + tags : ""), - "saved: " + saved, "spell check: " + (md.spellcheck ? "en" : "dis") + "abled", "notes count: " + localdata.length, "word count: " + getwords(),