Conflicts:
	app/src/processing/app/Editor.java
This commit is contained in:
patrick
2014-08-13 14:03:08 -04:00
+2
View File
@@ -2429,12 +2429,14 @@ public abstract class Editor extends JFrame implements RunnerListener {
//this makes things.... complicated
//System.out.println(e.context());
System.out.println(e.context());
boolean openedFile = false;
if (((Path)e.context()).getFileName().toString().startsWith(".goutputstream")){
openedFile = true;
}
if (!openedFile) {
for (SketchCode sc: sketch.getCode()){
System.err.println("Code: \t\'"+sc.getFileName()+"\'\t\t\'"+e.context()+"\'");
//if a gedit edit or an edit of one of the files in the sketch
if (sc.getFileName().equals(((Path)e.context()).getFileName().toString())){
openedFile = true;