On 02/11/06 23:55:18, Rowan Lewis wrote:
Enrico Tröger wrote:
On Wed, 01 Nov 2006 20:52:35 -0500, Bob Doan bdoan@sicom.com wrote:
I was trying to figure out how to better color XML documents (Currently the document is mostly in red), but noticed that the syntax highlighting seems to be triggered on keywords. Is there any easy to to fix this or will changes have to be made in the code?
Not necessarily. Just copy $prefix/share/geany/filetypes.xml to ~/.geany/filetypes.xml and edit it. Probably most things you can change there. For more information about these files please read http://geany.uvena.de/manual/ch04.html#filetypes and/or ask here again.
[...]
Hey,
I'd like to note something about this, currently XML and HTML are handled by the same style, which isn't correct since in HTML you have a limited number of elements, and in XML you're able to create your own unique elements. Right now, when working with say XSLT documents, all the XSLT elements are marked with the unknown style (red), when really, there shouldn't be any unknown style for XML documents.
I'd like to see that split up, so you have a HTML style which includes the PHP, ASP and JavaScript support, but also a more general XML style.
I've just sent a reply to Bob Doan about this ;-)
Also, I've noticed that XSLT files (.xsl application/xslt+xml) are not considered XML, so it'd be great if they where :)
We'll add .xsl then :)
Regards, Nick