hellferret
Programmer
Can anyone give me any ideas on how to highlight keywords in a RichTextBox? I am writing a SQL query tool, and I would like to highlight all recognised SQL keywords in the RichTextBox as the user types.
My first attempts haven't been turning out too well:
It's just far too slow and variable names can contain keywords (example: tblPatents - don't want the at highlighted.)
Any ideas would be greatly appreciated.
HF
My first attempts haven't been turning out too well:
It's just far too slow and variable names can contain keywords (example: tblPatents - don't want the at highlighted.)
Any ideas would be greatly appreciated.
HF