Issue with parsing regions

SyntaxEditor for Windows Forms Forum

Posted 4 years ago by Alex Sche
Version: 20.1.0401
Platform: .NET 4.5
Environment: Windows 7 (64-bit)

Hello, I encoutered with an issue when SyntaxEditor with assigned CSharpSyntaxLanguage parse #region/#edregion in a wrong way - it determine the end of a region after any occurence of => operator in the code:

Please see the screenshot for details:

And here is the file for tests:

Comments (1)

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

Hi Alex,

Thanks for reporting this.  It appears that the grammar wasn't updated to support lambda expressions in event accessor declarations.  We've fixed that for the next maintenance release.

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.