Remove syntax highlighting

Topics: Developer Forum
May 17, 2010 at 4:41 PM

I have been able to apply syntax highlighting in my scintilla control. But what if i need to remove it at runtime. I cannot get it to work.

Any help to remove syntax highlighting is appreciated.

Thanks!

Coordinator
May 20, 2010 at 4:10 PM

I assume you've set the Scintilla.ConfigurationManager.Language property on the designer to get syntax highlighting? If that's the case, simply removing it will reset syntax highlighting. e.g.

 

scintilla.ConfigurationManager.Language = String.Empty;

 

 

Thanks,
Jacob