mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
Merge branch 'master' of https://github.com/pvrs12/processing.git
Conflicts: app/src/processing/app/Editor.java
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user