[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Improved Lilypond syntax highlighting (KDE)
From: |
Wilbert Berendsen |
Subject: |
Improved Lilypond syntax highlighting (KDE) |
Date: |
Fri, 5 Oct 2007 20:00:58 +0200 |
User-agent: |
KMail/1.9.7 |
Hi,
please find attached a massively improved Lilypond highlighting definition
file for KDE's Katepart, based on Andrea Primiani's first version.
Improvements:
- better recognition of being inside lyrics, drums, notes, chords and markup
sections
- detect multiline comments %{ %}
- links to ##Alerts in comments (e.g. TODO, FIXME)
- detect lilypond inside scheme #{ #}
- detect \score inside \markup, etc.
- helps with some often made errors like forgetting spaces around lyric
extenders and hyphens
- more scheme improvements: strings, numbers, $substitutions, lilypond objects
- highlights many variables, commands, lilypond objects, properties,
engravers, etc.
- by using entities for many regexps the main syntax checking parts remain
legible, and the file more maintainable.
This could be committed to KDE's katepart/syntax tree, but it's been a long
time i did some commits, zo i don't exactly know how/where to do it. :)
Cc: to lilypond-user for anyone using Lilypond+KDE who might find it useful :)
with best regards,
Wilbert Berendsen
--
http://www.wilbertberendsen.nl/
lilypond.xml.zip
Description: Zip archive
- Improved Lilypond syntax highlighting (KDE),
Wilbert Berendsen <=