ContentDividers working with C#

SyntaxEditor for Windows Forms Forum

Posted 19 years ago by GeorgeNY - CTO, RatchetSoft, LLC
I want to get the content dividers to work with C# code. I have left the default settings which include ContentDividersVisible = true... but no content dividers are showing up. I am using the XML language files for C# that you provided in the sample code. I am also using the SemanticCSharpParser.cs provided in the sample as well.

1) Can you tell me how to get the dividers to work
2) What is the purpose of the SemanticCSharpParser object.. its not obvious what its purpose is.

George P Weihs

Comments (1)

Posted 19 years ago by Actipro Software Support - Cleveland, OH, USA
Content dividers only work when you define a lexical pattern group with an IsContentDivider flag. The VBScript sample shows this.

The XML language definitions tell the lexical parser how to parse the text into Tokens while the semantic parsers provide automatic outlining support for languages as well as let you iterate over the parsed Tokens and assign them any semantic data you wish to.

Actipro Software Support

The latest build of this product (v24.1.0) was released 4 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.