mirror of
https://github.com/processing/processing4.git
synced 2026-02-12 18:10:43 +01:00
further work on completion panel
This commit is contained in:
@@ -733,7 +733,7 @@ public class ErrorCheckerService implements Runnable{
|
||||
// String[] lines = {};// = PApplet.split(sourceString, '\n');
|
||||
int codeIndex = 0;
|
||||
|
||||
int x = problem.getSourceLineNumber() - mainClassOffset + 1;
|
||||
int x = problem.getSourceLineNumber() - mainClassOffset;
|
||||
if (x < 0) {
|
||||
// System.out.println("Negative line number "
|
||||
// + problem.getSourceLineNumber() + " , offset "
|
||||
|
||||
Reference in New Issue
Block a user