--- Neil Hodgson <[EMAIL PROTECTED]> wrote: > Peter Masiar: > > > So when editing xslt file, I can see which parts are my XSLT program, > > and which parts are the date it outputs. > > The existing XML lexer is not a good match for rich styling of XML > documents and due to Scintilla limitations can not be easily extended > to cover all the possibly desired features. A new lexer could be > implemented (with quite a bit copied from the current lexer) but there > would still be some limitations such as on the number of namespaces > that get individually highlighted.
My old editor, MultiEdit, did it simple way many years ago: It allows you to enter custom list of test strings, and assign them custom colors, which would overwrite colors assigned by standard lexer. As a matter of fact I just digged out old install CD (version from from 1999) and hacked some crude coloring for my xslt sheet. I never thought I would use this so old and obsolete editor again, but here it is: old dog can still show us new tricks :-( Crude hack maybe. I have only two colors: reserved tags, and all others. But it is better than nothing. Sorry - it was not intended as a plug for MultiEdit - it *is* obsolete and non-free and not sure if even alive. I want to drop it. It is more a suggestion how to enhance new parser for SciTE. If anyone knows how to do that and want to try, please count me in for testing. -- Peter __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ Scite-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scite-interest
