Removed temporary fix from Sketch and a changed comment in

ChangeDetector
This commit is contained in:
Patrick Vares
2015-01-30 00:16:27 -05:00
parent 0a94239a38
commit 2c10e2061d
2 changed files with 2 additions and 8 deletions
+1 -2
View File
@@ -14,8 +14,7 @@ public class ChangeDetector implements WindowFocusListener {
private Editor editor;
// private boolean enabled = true;
//REMOVE on for testing
private boolean enabled = true; // broken on OS X
private boolean enabled = true; // broken on OS X (possibly fixed? tested and it seems to work)
private boolean skip = false;
+1 -6
View File
@@ -1210,14 +1210,9 @@ public class Sketch {
current = code[which];
currentIndex = which;
current.visited = System.currentTimeMillis();
//REMOVE
try {
editor.setCode(current);
// editor.header.rebuild();
//editor.header.rebuild();
editor.header.repaint();
} catch (NullPointerException e) {
//e.printStackTrace();
}
}