further work on completion panel

This commit is contained in:
Manindra Moharana
2013-04-20 10:39:29 +05:30
parent d8f50815b7
commit cdbcee6b68
5 changed files with 390 additions and 280 deletions

View File

@@ -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 "