prevent errors on first line of a new tab from highlighting on previous tab

This commit is contained in:
benfry
2012-12-05 01:26:54 +00:00
parent ddc8435589
commit 76e9b3490c
5 changed files with 22 additions and 13 deletions

View File

@@ -260,7 +260,7 @@ public class PdePreprocessor {
"values (not variables) for the size() command.\n" +
"See the size() reference for an explanation.";
Base.showWarning("Could not find sketch size", message, null);
new Exception().printStackTrace(System.out);
// new Exception().printStackTrace(System.out);
return null;
}
@@ -563,6 +563,7 @@ public class PdePreprocessor {
write(program, stream), programImports);
}
static String substituteUnicode(String program) {
// check for non-ascii chars (these will be/must be in unicode format)
char p[] = program.toCharArray();
@@ -688,6 +689,7 @@ public class PdePreprocessor {
return className;
}
private PdeRecognizer createParser(final String program) {
// create a lexer with the stream reader, and tell it to handle