mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
couple warnings
This commit is contained in:
@@ -108,7 +108,6 @@ public class PdeTextAreaPainter extends TextAreaPainter {
|
||||
* then the line (background color and text).
|
||||
*
|
||||
* @param gfx the graphics context
|
||||
* @param tokenMarker
|
||||
* @param line 0-based line number
|
||||
* @param x horizontal position
|
||||
*/
|
||||
@@ -145,8 +144,8 @@ public class PdeTextAreaPainter extends TextAreaPainter {
|
||||
int y = textArea.lineToY(line) + fm.getLeading() + fm.getMaxDescent();
|
||||
|
||||
try {
|
||||
String badCode = null;
|
||||
String goodCode = null;
|
||||
String badCode;
|
||||
String goodCode;
|
||||
try {
|
||||
SyntaxDocument doc = textArea.getDocument();
|
||||
badCode = doc.getText(wiggleStart, wiggleStop - wiggleStart);
|
||||
|
||||
Reference in New Issue
Block a user