Added: #2519 AS1/2 direct editation - better handling of "too large" error messages

- highlighting actual problematic line
This commit is contained in:
Jindra Petřík
2025-08-24 00:11:01 +02:00
parent d086d7bf7f
commit 06f3c20da8
7 changed files with 149 additions and 31 deletions
@@ -179,6 +179,9 @@ public class HighlightsPanel extends JPanel {
int currentLine = editorPane.getLine();
for (Highlighter.Highlight highlight : highlights) {
if (highlight == null) {
continue;
}
Highlighter.HighlightPainter painter = highlight.getPainter();
if ((painter instanceof UnderlinePainter) && ((UnderlinePainter) painter).getColor() == null) {
continue;