fix painter again

This commit is contained in:
Ben Fry
2013-10-20 17:21:23 -04:00
parent 9251fdabfc
commit 22f28c9c39
@@ -631,12 +631,6 @@ public class TextAreaPainter extends JComponent implements TabExpander {
@Deprecated
protected void paintLine(Graphics gfx, TokenMarker tokenMarker,
int line, int x) {
paintLine(gfx, line, x, tokenMarker);
}
protected void paintLine(Graphics gfx, int line, int x,
TokenMarker tokenMarker) {
// Font defaultFont = getFont();
// Color defaultColor = getForeground();
@@ -651,6 +645,12 @@ public class TextAreaPainter extends JComponent implements TabExpander {
paintSyntaxLine(gfx, line, x, y, tokenMarker);
}
}
protected void paintLine(Graphics gfx, int line, int x,
TokenMarker tokenMarker) {
paintLine(gfx, tokenMarker, line, x);
}
// protected void paintPlainLine(Graphics gfx, int line, Font defaultFont,