Showing squiggles at the end of a line?

SyntaxEditor for WPF Forum

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

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 5 years ago by Actipro Software Support - Cleveland, OH, USA

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 5 years ago by Anders Ekelund

Awesome, thanks!

The latest build of this product (v24.1.2) 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.