Showing squiggles at the end of a line?

SyntaxEditor for WPF Forum

Posted 1 year ago by Anders Ekelund
Version: 19.1.0681
Platform: .NET 4.7
Environment: Windows 7 (64-bit)
Avatar

If you forget to type a semicolon at the end of a statement in Visual Studio, the squiggle will be placed at the end of the line, after the last visible character.

How do you get a similar result with SyntaxEditor (using a custom parser)? My expectation would be to create a ParseError with a PositionRange that somewhow includes the newline, but I can't figure out how to get it to work.

See also the C# editor demo in the sample browser that shows the same problem - the syntax editor on line 22 is invisible in the editor.

Comments (2)

Answer - Posted 1 year ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Anders,

Thanks for letting us know about this.  It appears to be a bug introduced in 2019.1 when squiggle line rendering was refactored as part of our vNext updates.  We've fixed it for the next build.


Actipro Software Support

Posted 1 year ago by Anders Ekelund
Avatar

Awesome, thanks!

The latest build of this product (v2020.1.0) was released 21 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.