How to ... #region

SyntaxEditor for WPF Forum

Posted 5 years ago by Horst Noll
Version: 17.2.0661


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

Thanks in advance.


Comments (2)

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

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 5 years ago by Horst Noll

Got it.

Thank you so much.

The latest build of this product (v22.1.3) was released 16 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.