Posted 8 years ago by Radjesh Klauke - Mr., X-impress
Avatar
I use this code: .Document.Outlining.Mode = OutliningMode.Automatic, but nothing happens. The help also talks about DynamicOutliningSyntaxLanguage. Perhaps I need to use that one, but I can't find that property.

Comments (1)

Posted 8 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Yes in the WinForms SyntaxEditor, to do outlining for a dynamic language, you do need a code-behind class for your language and that class must inherit DynamicOutliningSyntaxLanguage. That is where you need to use the SyntaxLanguageTypeName attribute in your XML definition to link to your code-behind class.

Several of the samples show this, like the C#, CSS, languages.


Actipro Software Support

The latest build of this product (v2018.1 build 0341) was released 9 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.