Fast Colorize 2 for HTML / XML / XHTML / SGML / ... source viewing
This function accepts a text-file as input and will output a colorized RTF String. Nothing new about that, but this program will generate even large RTF files very fast. You will see the difference if you try to colorize a 500kb XML file. You may add the modules to your code to add HTML/XML/XHTML source viewing capabilities. The code has gotten quite complicated, but the adjustable parts are documented. (changing colors, or the tags that need coloring). You can for example color all tags red. This is version 2. 2001-11-24 Changes: [-] Twice as fast. (500kb/s. on PIII450) [-] Added a cAppendString class instead of using Mid$. [-] Fast string space allocation by API calls. String pointer swapping. (Thanks to VBSpeed) [-] Now uses Regular Expressions to color the 'inside' of tags (THANKS to Gary aka RegX for the idea to use REGULAR EXPRESSIONS. You can download similar projects from RegX here on PSCODE) [-] Added a RTE control to speed up viewing. CREDITS AND COPYRIGHT: MartijnB (bambi@crackdealer.com) Money, rewards, bugs and .. can be send to me (please!) SEE README.TXT
Ringkasan AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.
Upload