This is a migrated thread and some comments may be shown as answers.

SqlTagger customization

2 Answers 68 Views
SyntaxEditor
This is a migrated thread and some comments may be shown as answers.
Ben
Top achievements
Rank 1
Veteran
Ben asked on 16 Sep 2020, 02:12 PM

Hi,

I'm really loving the SyntaxEditor component but i'm looking for a way to print specific parts of my SQL bold.

 

Take for instance the query: SELECT * FROM Customers WHERE CustomerId=%CustomerId%

I want the %CustomerId% part printed bold. Is this possible?

Thanks,

 

Ben

2 Answers, 1 is accepted

Sort by
0
Accepted
Dess | Tech Support Engineer, Principal
Telerik team
answered on 18 Sep 2020, 11:15 AM

Hello, Ben, 

I am really glad to hear that you are happy with the RadSyntaxEditor control that the Telerik UI for WinForms suite offers.

Currently, RadSyntaxEditor offers different palettes for applying different colors to the syntax-related words of the control: https://docs.telerik.com/devtools/winforms/controls/syntax-editor/features/palettes 

Similar to Visual Studio, changing the font to bold only for parts of the text is not possible. The EditorFontFamily property controls the font for the entire editor. If other customers have similar requests, we will consider it in the future improvement of the control.

I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

0
Neil
Top achievements
Rank 1
answered on 25 Feb 2021, 01:27 PM
Hi Dess,  italics would be great for comments too (especially ones between /* and */ to distinguish them from "-- commenting out")
Tags
SyntaxEditor
Asked by
Ben
Top achievements
Rank 1
Veteran
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Neil
Top achievements
Rank 1
Share this question
or