changed: save state in first stat position
added: comment snippet
This commit is contained in:
parent
de3d3ded36
commit
96e247459d
7
main.js
7
main.js
|
@ -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(),
|
||||||
|
|
Loading…
Reference in New Issue