The q character is not recognized as a note pitch in Lilypond syntax highlighting and therefore durations attached to it. It is used as a shortcut for recurring chords, see http://www.lilypond.org/doc/v2.16/Documentation/notation/single-voice#chord-repetition Reproducible: Always Steps to Reproduce: Enter something like "<a c>2 q4" somewhere in a Lilypond file. Actual Results: the duration of the repeated chord is not colored like the rest of the note durations (blue in my case), it remains black. Expected Results: The duration value of the chord is colored, and 'q' is recognized like a pitch or 'r', 'R' or 's'.
Wilbert, can you have a look?
Created attachment 81152 [details] KatePart LilyPond highlighting: recognize q as a pitch This patch adds q to the list of recognized pitch names.
This looks like a trivial patch, is it okay to get committed?
Git commit dc6882c30c7fc7737707bc6da38625e7404b06e0 by Dominik Haumann. Committed on 10/08/2013 at 19:46. Pushed by dhaumann into branch 'master'. fix for Lilypond syntax highlighting Lilypond syntax highlighting: 'q' (chord shortcut) is not recognized as note Thanks to Wilbert for the patch! FIXED-IN: 4.11.1 M +2 -2 part/syntax/data/lilypond.xml http://commits.kde.org/kate/dc6882c30c7fc7737707bc6da38625e7404b06e0
Git commit e78704d8ce29a9365e9b77d2d268740c5b3ef946 by Dominik Haumann. Committed on 10/08/2013 at 19:46. Pushed by dhaumann into branch 'KDE/4.11'. fix for Lilypond syntax highlighting Lilypond syntax highlighting: 'q' (chord shortcut) is not recognized as note Thanks to Wilbert for the patch! FIXED-IN: 4.11.1 M +2 -2 part/syntax/data/lilypond.xml http://commits.kde.org/kate/e78704d8ce29a9365e9b77d2d268740c5b3ef946