Re: Improved Lilypond syntax highlighting (KDE)
looks good, nice to see some support for kate which i use from time to time d On 5 Oct 2007, at 19:00, Wilbert Berendsen wrote: 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-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
Re: Improved Lilypond syntax highlighting (KDE)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Freitag, 5. Oktober 2007 schrieb Wilbert Berendsen: > please find attached a massively improved Lilypond highlighting definition > file for KDE's Katepart, based on Andrea Primiani's first version. Great! Thanks for you work. > Improvements: > - better recognition of being inside lyrics, drums, notes, chords and > markup sections Whis has the huge improvement that now code folding (i.e. opening/closing whole "sections") works just fine, which didn't work at all in the lilypond.xml provided with 3.5.x. This makes working on large lilypond files much easier now! > 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. :) Check out the kdelibs module from subversion, replace lilypond.xml (in kate/syntax/data/lilypond.xml) and commit it with svn commit -m "your commit message" Of course, you should get the permission/comments from the kate developers (who you cc'ed anyway, so I suppose they can help you better than some random KDE hacker like me). They will also be able to help you with putting the new version on the KDE servers so that the new version can be downloaded/updated in Kate's configure dialog in older versions, too. > Cc: to lilypond-user for anyone using Lilypond+KDE who might find it useful Thanks a lot! Cheers, Reinhold - -- - -- Reinhold Kainhofer, Vienna University of Technology, Austria email: [EMAIL PROTECTED], http://reinhold.kainhofer.com/ * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/ * K Desktop Environment, http://www.kde.org, KOrganizer maintainer * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHBrTkTqjEwhXvPN0RAnMRAJ4hi77xeEKUb3k6KnNuUInxkiAcFACgvtNq 0PRlmWq/f30bx8gTBdzrCII= =qWoo -END PGP SIGNATURE- ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user