On 20.08.2009, at 23:11, -Eluze wrote:
-Eluze wrote:
Mats Bengtsson-4 wrote:
A useful starting point should be the Emacs and Vim modes
included in
the LilyPond distribution.
Among others, they contain an automatically generated list of
predefined
commands and reserved words in the LilyPond syntax, see
.../usr/share/emacs/site-lisp/lilypond-words.el
and
.../usr/share/lilypond/current/vim/syntax/lilypond-words
however ... the list should be complete!
i searched with a simple regex in C:\Program
Files\lilypond\usr\share\lilypond for definitions and found over
200 missing
terms - i hope they have been added since the last release! (see
attached
list for details)
http://www.nabble.com/file/p25070085/missing%2Bin%2Blilypond%
2Bwords.ly
missing+in+lilypond+words.ly
--
View this message in context: http://www.nabble.com/Lilypond-
language-definition-for-Notepad%2B%2B-tp14969868p25070085.html
Sent from the Gnu - Lilypond - User mailing list archive at
Nabble.com.
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user
Another part of the reason that I decided to hilight words based on
how defined words in lilypond are used. That way I cover just about
all of the words, and if \dimTextDim is one day renamed, as long as
it begins with a \, the regex I use will catch it. I thought aobut
inserting lists of words into my hilighting, but then came across
exactly this scenario and decided against it.
James E. Bailey
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user