Ok, I've knocked together an MDI Raw HTML editor with a 'preview' tab to help the user see their page taking shape without cluttering up the taskbar with browser windows. TabControl at the bottom to make navigation easy, and a SynEdit + HTML highlighter to make it easy reading. It's all working nice and spiffy, but the one last feature I want in there, I'm having trouble with.
I'd like it to be able to automatically add a counter tag when you type a normal tag in. e.g.
You type <table> and it adds </table> to the line.
Thanks for your time,