abc.js 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. ace.define("ace/snippets/abc",[], function(require, exports, module) {
  2. "use strict";
  3. exports.snippetText = "\n\
  4. snippet zupfnoter.print\n\
  5. %%%%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\
  6. \n\
  7. snippet zupfnoter.note\n\
  8. %%%%hn.note {\"pos\": [${1:pos_x},${2:pos_y}], \"text\": \"${3:text}\", \"style\": \"${4:style}\"}\n\
  9. \n\
  10. snippet zupfnoter.annotation\n\
  11. %%%%hn.annotation {\"id\": \"${1:id}\", \"pos\": [${2:pos}], \"text\": \"${3:text}\"}\n\
  12. \n\
  13. snippet zupfnoter.lyrics\n\
  14. %%%%hn.lyrics {\"pos\": [${1:x_pos},${2:y_pos}]}\n\
  15. \n\
  16. snippet zupfnoter.legend\n\
  17. %%%%hn.legend {\"pos\": [${1:x_pos},${2:y_pos}]}\n\
  18. \n\
  19. \n\
  20. \n\
  21. snippet zupfnoter.target\n\
  22. \"^:${1:target}\"\n\
  23. \n\
  24. snippet zupfnoter.goto\n\
  25. \"^@${1:target}@${2:distance}\"\n\
  26. \n\
  27. snippet zupfnoter.annotationref\n\
  28. \"^#${1:target}\"\n\
  29. \n\
  30. snippet zupfnoter.annotation\n\
  31. \"^!${1:text}@${2:x_offset},${3:y_offset}\"\n\
  32. \n\
  33. \n\
  34. ";
  35. exports.scope = "abc";
  36. });
  37. (function() {
  38. ace.require(["ace/snippets/abc"], function(m) {
  39. if (typeof module == "object" && typeof exports == "object" && module) {
  40. module.exports = m;
  41. }
  42. });
  43. })();