Posted 14 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 14 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 (v24.1.1) was released 28 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.