Hi all,
There was a brief discussion a coupla weeks about getting better syntax
highlighting and context help for ebuilds. Well, sorry can't help with the
second yet, but I hacked together a syntax highlighting file for katepart
(as used in kwrite and kate of course ;) based on the BASH one. You can d/l
the first version from: http://phpfi.com/214109
All it does is add the functions from the reference in the devmanual (nice
one ciaran- btw I do agree with only releasing when it's ready ;) as a new
word list (<list name="ebuild_cmds"> on line 91.) I also put in the inherit
keyword.
The only other change is the addition of line 644:
<keyword attribute="Command" context="#stay" String="ebuild_cmds" />
and I added a priority attribute to the language so it will take
precedence over BASH highlighting for ebuilds and eclasses.
It'd be good to add functions from other eclasses, maybe in a separate
list. ATM the file has bash_completion, eutils, fdo_mime. flag-o-matic,
gnome2, rpm, subversion functions as per the devmanual.
HTH,
SteveL.
--
[email protected] mailing list