syntax highlighting in richtextbox
-
hi i have written a syntax highlighting program using regex. i selected all the ranges and highlighted one by one.is there anyother fastest way to highlight and my main doubt is if i am intending to type any text or textchange i am able to see the flickering as because i am selecting the particular text and highlighting . could we color particular range of text`s color without selection.(note i am using .net framework 2.0)
with regards Balagurunathan.B
-
hi i have written a syntax highlighting program using regex. i selected all the ranges and highlighted one by one.is there anyother fastest way to highlight and my main doubt is if i am intending to type any text or textchange i am able to see the flickering as because i am selecting the particular text and highlighting . could we color particular range of text`s color without selection.(note i am using .net framework 2.0)
with regards Balagurunathan.B
The RTB really isn't the best choice for this since performance, no matter you do, will get slower and slower as the length of text gets longer and longer. But, here's[^] the Google results for "vb.net syntax highlighting richtextbox". You may be disappointed by what you find.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007