I created a Win Form text box, that inherits from RichTextBox, that will highlight key words. I used an interface so additional languages can be added in the future. Right now I've just done SQL highlighting. As of now the box will not do block commenting, but I'm thinking of adding it when I get some time. Original code came from http://pietschsoft.com/Blog/Post.aspx?PostID=491
[EDIT] New version added below
Last edited by wild_bill; Jul 27th, 2007 at 09:48 AM.
I tried adding it via the toolbox and then to a form like a standard textbox/rich textbox but it throws several errors. If I try to add it as a reference it doesn't show.
How exactly is this supposed to work? Can you provide a sample project with your control?