The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Is there a way to turn on/off the syntax highlighting programmatically?
I'm writing an app that switches between HTML code view and plain text view and back, and I need to be able to view the plain text without syntax highlighting and then view the HTML code with syntax highlighting.
One problem I'm encountering is that any numbers that show up in the text (e.g. Account 1234) have a color applied to them when in "Plain Text" mode. In the example: "Account 1234", the 1234 is showing up in a dark blue color. I don't want any text coloring when KnownLanguages.Text is applied.
Again, thanks for any information you can provide.
John [VB.NET 2005 & Syncfusion.Edit.Windows v.4.402.0.51]
ADAdministrator Syncfusion Team January 30, 2007 01:20 AM UTC
Hi John,
It is possible to turn on/off the syntax highlighting programmatically. I have attached a sample that illustrates this. Let me know if this meets your requirements.