The Zeus colorizer was never really designed with HTML in mind so it doesn't do it as well as it shouldYeah, I've noticed that the HTML colouring is awkward at best.
I don't think this is possible, without some fairly major re-working of the entire colorizer engine.Is there any cause to try and make the XHTML constructs like <br /> and <hr /> colour properly?
I'm kinda avoiding patterns for now. I find they can be very confusing.
They can be good for some things. For example in my c/c++ document type I define the ID* pattern and this means that in code like this all the ID's paint with the same nice color :
Code: Select all
#define ID_SIDEBAR 610 #define IDTF_WORKSPACE 6001 #define IDLB_PROJECTFILES 6002 #define IDEF_MAKEFILE 6003 #define IDEF_BSCFILE 6004
Make sure you have a call to the screen_update function at the end of your macro.Sometimes when I run macros on marked text, the text is no longer maked when the macro is done but the display still shows the marked area. How do I tell things to do a refresh to unmark the seemingly marked area?
The pattern matching code has had a few changes in recent yearsI think your string pattern matching is working better. At least with escaped "s it seems to be. Which is nice.