I am trying to use AvalonEdit as a XML text editor in my WPF application. However, it doesn’t do any formatting (such as wavy lines) when it encounters invalid syntax.
I will like to know if such function can be done using AvalonEdit, or if there is other alternatives. Thanks!
I was also looking to utilise the xml invalid syntax highlighting. While looking at the SharpDevelop source code I noticed that the error reporting was done at a level higher up than the AvalonEdit control and didn’t seem particularly suitable for reuse.
So I had a go at extracting enough code to get a POC going. Here’s what I came up with…
.
.