Colors in RichTextBox Control

S

sravan_reddy001

Hello,

I'm I'm trying to develop a HTML editor. The text editor display the
HTML tags & attributes in different colours. I completed that work.
But the problem is When i try to select the text in the RTB
(RichTextBox) control the colour of the text is being to changed. Is
there any way that I can prevent this from happening. I got a idea of
writing a method that will do the parsing(applying colours) to the
RTB. Is that really efficient to parse entire text and do I need to
use the rtf format in parsing. Or can there be a way to prevent this
colour changing from happening.

Thanks in advance.

--Sravan Reddy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top