]> git.donarmstrong.com Git - lilypond.git/commitdiff
fontify multiple stanza in lyrics.
authorHeikki Junes <heikki.junes@hut.fi>
Sat, 25 Jan 2003 10:36:11 +0000 (10:36 +0000)
committerHeikki Junes <heikki.junes@hut.fi>
Sat, 25 Jan 2003 10:36:11 +0000 (10:36 +0000)
ChangeLog
lilypond-font-lock.el
lilypond.words

index 36a30cbcf7fe3191d4e378df5e74ee7fffccfdff..03270af953e2d9ce470e26c2515502cd57960822 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-01-25  Heikki Junes  <hjunes@cc.hut.fi>
+
+       * lilypond-font-lock.el: lyrics-mode update for multiple stanza.        
+       * lilypond.words: add one.
+
 2003-01-23  Heikki Junes  <hjunes@cc.hut.fi>
 
        * lilypond-font-lock.el: Fontify post-notated slurs [-^_][()].
index 44df90828ca47eaa721f63753cd12330201c5342..f8518df97c77309d750eea0714d51d29c46d680f 100644 (file)
@@ -11,7 +11,7 @@
 ;;         1992-1994 Tim Peters
 ;; Created:       Feb 1992
 ;; Version:       1.7.12
-;; Last Modified: 13DEC2003
+;; Last Modified: 26DEC2003
 ;; Keywords: lilypond languages music notation
 
 ;; This software is provided as-is, without express or implied
 ;; ... (v) the right and the left side of '='-marks.
 ;; ... (v) reserved words, e.g., FiguredBass.
 ;; ... (t) notes and rests
+;; "on top", ... (s) lyrics-mode
 ;; "on top", ... (w) horizontal grouping
 ;; "on top", ... (f) vertical grouping
 ;; "on top", ... (b) expressional grouping
-;; "on top", ... (s) lyrics-mode
 ;; "on top", ... (s) (multiline-)scheme; urgh. one should count the slurs
 ;; "on top", ... (s) strings
 ;; "on top", ... (c) (multiline-)comments
 ;; ... note or rest (with an accidental), e.g., b,? -- allows cis\longaX
       '("\\(^\\|[ <\{[/~(!)\t\\\|]\\)\\(\\(\\(bb\\|as[ae]s\\|eses\\|\\(do\\|re\\|[ms]i\\|[fl]a\\|sol\\)\\(bb?\\|dd?\\|ss?\\)?\\)\\|\\([a-h]\\(\\(flat\\)+\\|\\(sharp\\)+\\|is\\(siss\\|i?s\\)?\\|es\\(sess\\|e?s\\)?\\|ff?\\|ss?\\)?\\)\\)[,']*[?!]?\\|[srR]\\)" 2 font-lock-type-face)
 
+;; "on top", ... lyrics-mode: fontify everything between '<'...'>' or '{'...'}'
+;            URGH, does not know anything about inner brackets.
+;            Multiple lines may need refontifying (C-c f).
+      '("\\(\\\\lyrics[^{<]*\\)\\({[^}]*\\|<[^>]*\\)" 2 font-lock-string-face t)
+
 ;; "on top", ... horizontal grouping:
 ;;               - brackets '{[]}'
 ;;               - ties '~'
 ;;               - hairpins \<, \>, \! 
       '("\\(\\\\[(<!>)]\\|[-^_]?[()]\\)" 0 font-lock-builtin-face t)
 
-;; "on top", ... lyrics-mode: fontify everything between '{' and '}'
-      '("\\(\\\\lyrics[^{]*{\\)\\([^}]*\\)" 2 font-lock-string-face t)
-
 ;; "on top", ... (multiline-)scheme: try find slurs up to 7th
       '("[_^-]?#\\(#[ft]\\|-?[0-9.]+\\|\"[^\"]*\"\\|['`]?[a-zA-Z-:]+\\|['`]?([^()]*\\(([^()]*\\(([^()]*\\(([^()]*\\(([^()]*\\(([^()]*\\(([^)]*)[^()]*\\)*)[^()]*\\)*)[^()]*\\)*)[^()]*\\)*)[^()]*\\)*)[^()]*\\)*[^)]*)\\)" 0 font-lock-string-face t)
 
index 0ee03cd652acd0541ac2cb55b822b0729a551056..eaaefd18c564bdf265accd530b15a78b1dbd0955 100644 (file)
@@ -251,6 +251,7 @@ percent
 \\Piano
 \\pianoAccidentals
 \\pianoCautionaries
+PianoPedalBracket
 PianoStaff
 \\PianoStaff
 \\PianoStaffContext