overleaf/services/web/public/js/ace-1.4.5/snippets/abc.js
Alasdair Smith 350e2ac38f Merge pull request #1886 from overleaf/as-upgrade-ace-1.4.5
Upgrade to Ace v1.4.5

GitOrigin-RevId: 7ab7ba24c0bfc927567fbd4196e05a1c3f26d283
2019-06-20 09:21:27 +00:00

46 lines
No EOL
1.4 KiB
JavaScript

ace.define("ace/snippets/abc",[], function(require, exports, module) {
"use strict";
exports.snippetText = "\n\
snippet zupfnoter.print\n\
%%%%hn.print {\"startpos\": ${1:pos_y}, \"t\":\"${2:title}\", \"v\":[${3:voices}], \"s\":[[${4:syncvoices}1,2]], \"f\":[${5:flowlines}], \"sf\":[${6:subflowlines}], \"j\":[${7:jumplines}]}\n\
\n\
snippet zupfnoter.note\n\
%%%%hn.note {\"pos\": [${1:pos_x},${2:pos_y}], \"text\": \"${3:text}\", \"style\": \"${4:style}\"}\n\
\n\
snippet zupfnoter.annotation\n\
%%%%hn.annotation {\"id\": \"${1:id}\", \"pos\": [${2:pos}], \"text\": \"${3:text}\"}\n\
\n\
snippet zupfnoter.lyrics\n\
%%%%hn.lyrics {\"pos\": [${1:x_pos},${2:y_pos}]}\n\
\n\
snippet zupfnoter.legend\n\
%%%%hn.legend {\"pos\": [${1:x_pos},${2:y_pos}]}\n\
\n\
\n\
\n\
snippet zupfnoter.target\n\
\"^:${1:target}\"\n\
\n\
snippet zupfnoter.goto\n\
\"^@${1:target}@${2:distance}\"\n\
\n\
snippet zupfnoter.annotationref\n\
\"^#${1:target}\"\n\
\n\
snippet zupfnoter.annotation\n\
\"^!${1:text}@${2:x_offset},${3:y_offset}\"\n\
\n\
\n\
";
exports.scope = "abc";
});
(function() {
ace.require(["ace/snippets/abc"], function(m) {
if (typeof module == "object" && typeof exports == "object" && module) {
module.exports = m;
}
});
})();