mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
fix painter again
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user