this should get rid of the TA paint line errors, hopefully

This commit is contained in:
Manindra Moharana
2013-09-16 21:01:59 +05:30
parent 96c4fc1846
commit 919015c22a

View File

@@ -182,10 +182,14 @@ public class TextAreaPainter extends processing.app.syntax.TextAreaPainter {
// paint gutter symbol
paintGutterText(gfx, line, x);
paintErrorLine(gfx, line, x);
super.paintLine(gfx, tokenMarker, line, x + ta.getGutterWidth());
}
else {
paintErrorLine(gfx, line, x);
super.paintLine(gfx, tokenMarker, line, x);
}
paintErrorLine(gfx, line, x);
super.paintLine(gfx, tokenMarker, line, x + ta.getGutterWidth());
}
/**