Issue with parsing regions

SyntaxEditor for Windows Forms Forum

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

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:

https://www.dropbox.com/s/a4wstgm09dli8jv/regions.png?dl=0

And here is the file for tests:

https://www.dropbox.com/s/qnzmqqz5r4aqojn/Application.cs?dl=0

Comments (1)

Answer - Posted 2 months ago by Actipro Software Support - Cleveland, OH, USA
Avatar

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 (v2020.1 build 0402) 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.