WPF Syntex Editor support for Lua

1 Answer 149 Views
SyntaxEditor
Guang
Top achievements
Rank 1
Iron
Guang asked on 24 Oct 2022, 04:12 PM
Is there any best practice using WPF Syntex Editor for Lua scriptting Syntax?

1 Answer, 1 is accepted

Sort by
0
Stenly
Telerik team
answered on 27 Oct 2022, 01:49 PM

Hello Guang,

The RadSyntaxEditor does not provide a tagger for Lua, however, you could try to implement a custom one by extending the WordTaggerBase class and by overriding its methods. One such approach for the Python language is shown in the Custom Language article of the control's documentation.  

In addition, a runnable sample of the custom Python tagger from the above-shared article could be found in our SDK Samples Browser, as well as in our GitHub repository.

With this being said, I hope the provided information will be of help to you.

Regards,
Stenly
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
SyntaxEditor
Asked by
Guang
Top achievements
Rank 1
Iron
Answers by
Stenly
Telerik team
Share this question
or