]> git.donarmstrong.com Git - lilypond.git/blobdiff - lilypond-font-lock.el
imeks
[lilypond.git] / lilypond-font-lock.el
index aa3e21c7945be39e368d7618db6e354bacc2f42d..044f821b0494d87523bdb74749eefa14d7de4622 100644 (file)
                        (car x) (cdr x) LilyPond-mode-syntax-table)))
          '(( ?\( . "." ) ( ?\) . "." ) 
            ( ?\[ . "(]" ) ( ?\] . ")[" ) ;; all the other paren characters are now handled by          
-           ( ?\{  .  ".2b" )             ;; lily-specific indenting/matching code in lilypond-indent.el 
-           ( ?\}  .  ".4b" )              
+           ( ?\{  .  ". 2b" )             ;; lily-specific indenting/matching code in lilypond-indent.el 
+           ( ?\}  .  ". 4b" )              
            ( ?\< . "." )( ?\> . ".") 
-           ( ?\$ . "." ) ( ?\% . "." ) ( ?\& . "." )
+           ( ?\$ . "." ) ( ?\& . "." )
            ( ?\* . "." ) ( ?\+ . "." )
            ( ?\/ . "." )  ( ?\= . "." )
            ( ?\| . "." ) (?\\ . "\\" )
-           ( ?\- . "." ) ( ?\_ . "." ) ( ?\^ . "." )
-           ( ?\' . "w")        
-           ( ?\" . "\"" )
-           ( ?\%  .  ". 1b3b" )
-           ( ?\n . ">")
-           ( ?\r . ">")
+           ( ?\- . "." ) ( ?\_ . "." ) ( ?\^ . "." ) ; accent positioners: puctuation characters
+           ( ?\' . "w") ( ?\, . "w") ; transposing octaves, parts of words (notes)
+           ( ?\" . "\"" ) ; string quote characters 
+           ( ?\%  .  "< 1b3b" ) ; (block-)comment starter (or ender)
+           ( ?\n . ">") ; newline: comment ender
+           ( ?\r . ">") ; formfeed: comment ender
            ))
   )