mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-28 08:30:46 +00:00
Added: #2519 AS1/2 direct editation - better handling of "too large" error messages
- highlighting actual problematic line
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user