I am designing <richtext> behavior for htmlayout/sciter… So far I like the way it allows to edit the text. There are interesting usability problems bubble up sometimes… Let’s say you have following document: <body> <pre> …. </pre> <table> …. </table> </body> And now imagine that you need to insert some text (paragraph) between the table…

XML/HTML tokenizer (or pull parser?)

Here is source code of my XML/HTML tokenizer: See my article on CodeProject: HTML/XML scanner/tokenizer Does not allocate any memory while parsing, extremely fast and compact.