I tried, asked around, and basically got the impression that I'd need
a text parser in order to figure that stuff out, so I didn't bother
with it.
Am 15.01.2009 um 20:49 schrieb Francois Planiol:
Thank you thank you thank you,
I never had the idea to look deeply in the man page of nano. Nano
could now
become my editor.
Is there a possibilty to highlight differently the nested levels of
{
{
{ blabla }
}
}
??
Great list, thank you again!
Francois
Am Donnerstag, 15. Januar 2009 08:18 schrieb Martin Tarenskeen:
I can't remember who it was, but in a previous thread someone
posted a
nanorc configuration file for nano with lilypond syntax
highlighting in
this list.
I got slightly better results when I changed the following lines
in the
nanorc file:
posted version:
color green "[a-h](as|es|is|isis|eses|s)?(['!,?]?)"
color green "[a-h](as|es|is|isis|eses|s)?(['!,?]?)+[0-9]+[\.]?"
My version is now:
color green "[a-hrs](as|es|is|isis|eses|s)?(['!,?]?) "
color green "[a-hrs](as|es|is|isis|eses|s)?(['!,?]?)+[0-9]+[\.]? "
[a-hrs] takes care of r rests and s spaces just like normal
notenames.
The added space at the end of the expression just before the
closing "
prevents that too many words are colored green that are not
notenames.
I will also attach my complete nanorc file which, in addition, also
includes ABC music syntax support.
Maybe this helps,
Martin Tarenskeen
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user