Case Insentive custom grammar

1 Answer 70 Views
SyntaxEditor
Andrea
Top achievements
Rank 1
Veteran
Andrea asked on 10 Feb 2023, 05:39 PM

Hi,

with custom taggers is it possibile to manage insentive custom grammar?

thank you

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 14 Feb 2023, 09:31 AM

Hello, Andrea,

You can have a look at the internal implementation of the built-in CSharpTagger by downloading the source code: https://docs.telerik.com/devtools/winforms/installation-and-upgrades/download-product-files 

In the CSharpTagger there is a StringPattern const defined. It represents the StringMatchingRegex pattern used to match strings in the documents which this tagger recognizes in the GetTags method. The SplitIntoWords method inheriting from the WordTaggerBase class is responsible for splitting the document into words. So if you want to achieve any parsing logic regarding the case insensitive text that is not currently available in RadSyntaxEditor, you have the possibility to do it.

The following tutorial demonstrates how to attach the Telerik source code to your project in order to investigate how the built-in CSharpTagger works and splits the words so you can use a similar approach:
https://docs.telerik.com/devtools/winforms/knowledge-base/attach-telerik-source-code-to-your-project

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

Regards,
Dess | Tech Support Engineer, Principal
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/.

Andrea
Top achievements
Rank 1
Veteran
commented on 14 Feb 2023, 09:45 AM

OK, thank you very much. Andrea
Tags
SyntaxEditor
Asked by
Andrea
Top achievements
Rank 1
Veteran
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or