negora commented on issue #4908:
URL: https://github.com/apache/netbeans/issues/4908#issuecomment-1303060322
@neilcsmith-net Thank you for your fast and informative answer.
I hadn't noticed that matching tags are marked in green because I've a
different color scheme and, by mistake, I had set the same color to highlight
the current line and also matching tags. Now I understand why this error type
was marked with a different style than in other file types (without a wavy red
underline): because the editor wasn't really marking an error.
> It might be good to mark the syntax error as well, but that's not what
you're seeing here as such.
I agree. That would be useful. After all it's also a syntax error.
I've just realized that other syntax errors are indeed properly marked as
such. For example:
```xml
<?xml version="1.0" encoding="UTF-8"?>
<root>
<foo&foo/>
</root>
```
Here the editor properly marks `&` and `/` as errors. However, there are not
red stripes in the right margin of the editor nor error messages in the _Action
items_ panel. If you've scrolled down/up, and the error is in a line out of the
visible area, you won't ever see the error.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists