Running gedit in a terminal will point you in the right direction 
Code:
iain@jstdio:~$ gedit
(gedit:15163): GtkSourceView-WARNING **: in file /usr/share/gtksourceview-2.0/language-specs/lilypond.lang: style 'lilypond:quotation' not defined
(gedit:15163): GtkSourceView-WARNING **: in file /usr/share/gtksourceview-2.0/language-specs/lilypond.lang: style 'def:line-comment' not defined
(gedit:15163): GtkSourceView-WARNING **: in file /usr/share/gtksourceview-2.0/language-specs/lilypond.lang: style 'lilypond:octave' not defined
(gedit:15163): GtkSourceView-WARNING **: in file /usr/share/gtksourceview-2.0/language-specs/lilypond.lang: style 'lilypond:brackets' not defined
(gedit:15163): GtkSourceView-WARNING **: in file /usr/share/gtksourceview-2.0/language-specs/lilypond.lang: style 'lilypond:mensural-notation' not defined
(gedit:15163): GtkSourceView-WARNING **: in file /usr/share/gtksourceview-2.0/language-specs/lilypond.lang: style 'lilypond:internal-commands' not defined
(gedit:15163): GtkSourceView-WARNING **: in file /usr/share/gtksourceview-2.0/language-specs/lilypond.lang: style 'lilypond:music-functions' not defined
(gedit:15163): GtkSourceView-WARNING **: in file /usr/share/gtksourceview-2.0/language-specs/lilypond.lang: style 'lilypond:markup-commands' not defined
(gedit:15163): GtkSourceView-WARNING **: in file /usr/share/gtksourceview-2.0/language-specs/lilypond.lang: style 'lilypond:identifiers' not defined
(gedit:15163): GtkSourceView-WARNING **: in file /usr/share/gtksourceview-2.0/language-specs/lilypond.lang: style 'lilypond:lykeyword' not defined
(gedit:15163): GtkSourceView-WARNING **: in file /usr/share/gtksourceview-2.0/language-specs/lilypond.lang: style 'lilypond:error' not defined
(gedit:15163): GtkSourceView-WARNING **: in file /usr/share/gtksourceview-2.0/language-specs/lilypond.lang: style 'lilypond:error' not defined
(gedit:15163): GtkSourceView-WARNING **: Failed to load '/usr/share/gtksourceview-2.0/language-specs/lilypond.lang': Error while compiling regular expression (?-ix)\b(reve|\longa|\maxima)\b at char 15: case-changing escapes (\l, \L, \u, \U) are not allowed here
On this line:
Code:
<keyword>\longa</keyword>
Perhaps it should be:
Code:
<keyword>longa</keyword>
<keyword>Longa</keyword>
Although, there will most likely be a few more tweaks than that to do in order to get it working...
Regards
Iain
Bookmarks