From 07d01fda44ffb7d26e522ced7a8ab06a950e1096 Mon Sep 17 00:00:00 2001 From: Bernhard Weichel Date: Mon, 29 Dec 2014 22:10:03 +0100 Subject: [PATCH] fixed a few typos and added more snippets --- lib/ace/snippets/abc.snippets | 30 +++++++++++++++++++++++------- 1 file changed, 23 insertions(+), 7 deletions(-) diff --git a/lib/ace/snippets/abc.snippets b/lib/ace/snippets/abc.snippets index 65b0fd65..5c3cd677 100644 --- a/lib/ace/snippets/abc.snippets +++ b/lib/ace/snippets/abc.snippets @@ -1,15 +1,31 @@ -snippet zupfnoter.goto - "^@${1:target}@${2:distance}" + +snippet zupfnoter.print + %%%%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}]} + +snippet zupfnoter.note + %%%%hn.note {"pos": [${1:pos_x},${2:pos_y}], "text": "${3:text}", "style": "${4:style}"} snippet zupfnoter.annotation - "^@!{1:text}@${2:x_offset},${3:y_offset}" + %%%%hn.annotation {"id": "${1:id}", "pos": [${2:pos}], "text": "${3:text}"} + +snippet zupfnoter.lyrics + %%%%hn.lyrics {"pos": [${1:x_pos},${2:y_pos}]} + +snippet zupfnoter.legend + %%%%hn.legend {"pos": [${1:x_pos},${2:y_pos}]} + -snippet zupfnoter.annotationref - "^#${1:target}" snippet zupfnoter.target "^:${1:target}" +snippet zupfnoter.goto + "^@${1:target}@${2:distance}" + +snippet zupfnoter.annotationref + "^#${1:target}" + +snippet zupfnoter.annotation + "^!${1:text}@${2:x_offset},${3:y_offset}" + -snippet zupfnoter.print - %%%%hn.print {"startpos": 20, "t":"Sopran, Alt", "v":[1,2], "s":[[1,2]], "f":[1], "sf":[2], "j":[1]}