How to ... #region

SyntaxEditor for WPF Forum

Posted 6 years ago by Horst Noll
Version: 17.2.0661
Avatar

Hi,

is it possible that someone can show me how to create #region in ActiPro SyntaxEditor?

Thanks in advance.

Regards

Comments (2)

Posted 6 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Horst,

The CodeOutliningRangeBased QuickStart shows an example of using a JavaScript language definition and creating outlining nodes based on curly braces and multi-line comment delimiters.  The same concepts apply to #region ranges, it's just that you'd need to have tokens defined for #region and #endregion in your language definition and then add logic for those similar to the logic for /* and */.


Actipro Software Support

Posted 6 years ago by Horst Noll
Avatar

Got it.

Thank you so much.

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

Add Comment

Please log in to a validated account to post comments.