Syntax Highlighting Text Box
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
Re: Syntax Highlighting Text Box
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?
Thanks,
CT
Re: Syntax Highlighting Text Box
Per this policy regarding CodeBank attachments, I have edited your zip file and removed all compiled files.
Please place only source code in attachments.
Thank you.
2 Attachment(s)
Re: Syntax Highlighting Text Box
I have updated the original project, and am attaching a sample.
2 Attachment(s)
Re: Syntax Highlighting Text Box
I converted the projects for visual studio 2005