changed: save state in first stat position

added: comment snippet
This commit is contained in:
quenousimporte 2023-02-28 10:04:46 +01:00
parent de3d3ded36
commit 96e247459d
1 changed files with 6 additions and 1 deletions

View File

@ -377,6 +377,11 @@ var snippets = [
{ {
command: "/*", command: "/*",
insert: "• " insert: "• "
},
{
command: "//",
insert: "<!--\n\n-->",
cursor: -4
}]; }];
function ask(question) function ask(question)
@ -494,10 +499,10 @@ function showinfo()
var tags = gettags(currentnote); var tags = gettags(currentnote);
showtemporaryinfo( showtemporaryinfo(
[ [
"saved: " + saved,
"title: " + currentnote.title, "title: " + currentnote.title,
"vault: " + currentvault, "vault: " + currentvault,
(tags ? "tags: " + tags : ""), (tags ? "tags: " + tags : ""),
"saved: " + saved,
"spell check: " + (md.spellcheck ? "en" : "dis") + "abled", "spell check: " + (md.spellcheck ? "en" : "dis") + "abled",
"notes count: " + localdata.length, "notes count: " + localdata.length,
"word count: " + getwords(), "word count: " + getwords(),