Commit ff5595e
committed
frontend: Highlight first, not last error in line
We highlight the offending token with an error message, but due to the
limited data structure (don't feel like refactoring now, plus
performance is already an issue) - we only allow for one token
highlight per error lines. Typically the first error is the most
meaningful, whereas later errors are sometimes just follow-ons - so
only highlight the first error.1 parent 65b47af commit ff5595e
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
124 | 126 | | |
125 | 127 | | |
126 | 128 | | |
| |||
0 commit comments