How to Change colours for SQL Language in the Syntax editor control

We use the Syntax Edit Control in our application.

It works beautifully, however our customers have requested to change the colours used for syntax highlighting.

They are used to other applications where the syntax highlight colours are different.


Is it possible to change the colours for the syntax highlighting?

Preferable by using MVVM, so that we can add a settings option were the customers can set their own colour scheme.

The language we need syntax highlighting for is SQL.



1 Reply

NS Nithi Sneha Samuel Jeba Kumar Syncfusion Team February 24, 2025 10:59 AM UTC

Hi Johan,
 

We have validated your query regarding the ability to customize syntax highlighting colors in the Syntax Edit Control.

To address this, we have implemented a solution using Editformats within the EditControl. This allows users to modify syntax highlighting colors according to their preferences.A modified sample has been attached for your reference.

 

If we misunderstood the requirement, please provide an update on the requirement. It will help us prompt the solution earlier.

 

Regards,
Nithi Sneha S


Attachment: EditControlSample_642dd6d8.zip

Loader.
Up arrow icon