Category / Section
How to turn on the Content Dividers feature in WinForms SyntaxEditor (EditControl)?
4 mins read
Content dividers
You could specify the Content Dividers by setting the ContentDivider field to true within the lexem definition in the configuration file.
XML
<lexem BeginBlock="Function" EndBlock="End Function" Type="KeyWord" IsComplex="true" IsCollapsable="true" Indent="true" CollapseName="{Function...End Function}" AutoNameExpression='.*Function.*\s+(?<text>\w+)\s*\(' AutoNameTemplate="Function [${text}]" IsCollapseAutoNamed="true" ContentDivider="true" > <References> <reference RefID="777"/> </References> <SubLexems> <lexem BeginBlock="\n" IsBeginRegex="true" /> </SubLexems> </lexem>
Reference link: https://help.syncfusion.com/windowsforms/syntaxeditor/text-visualization#content-dividers