How to configure splits in the WinForms SyntaxEditor (EditControl)?
Split configuration
Splits contain list of expressions that must be treated as a single word. To configure the splits in WinForms EditControl, specify the required word in the split section.
The following is the code example that demonstrates the same.
XML
<!--Combines special character with the keyword--> <split>.public</split> <split>.class</split>
By using the split configuration, ignore the lexemes preceded by a dot.
For example:
The Class and public are keywords in the EditControl. By using the Splits concept in the EditControl, you can ignore this keyword when it is preceded with a Dot. When .public is loaded in the EditControl, public is not highlighted as keyword.
You can refer to the following Link,
Figure 1: Before Splits configuration
Figure 2: After Splits configuration
Samples:
C#: http://www.syncfusion.com/downloads/support/forum/119331/ze/EditControl_KeywordSplit_C#-516963117
VB: http://www.syncfusion.com/downloads/support/forum/119331/ze/EditControlKeywordSplit_VB-39158445
Reference link: https://help.syncfusion.com/windowsforms/syntax-editor/syntax-highlighting#splits-1
Conclusion
I hope you enjoyed learning about how to configure splits in the WinForms SyntaxEditor (EditControl)
You can refer to our WinForms Edit control’s feature tour page to know about its other groundbreaking feature representations. You can also explore our WinForms Edit control documentation to understand how to present and manipulate data.
For current customers, you can check out our WinForms components from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our WinForms Edit control and other WinForms components.
If you have any queries or require clarifications, please let us know in comments below. You can also contact us through our support forums, Direct-Trac, or feedback portal. We are always happy to assist you!