mirror of
https://github.com/processing/processing4.git
synced 2026-02-10 09:09:26 +01:00
fixes, tidying things up for auto save
This commit is contained in:
@@ -245,7 +245,7 @@ public class DebugEditor extends JavaEditor implements ActionListener {
|
||||
ta.setECSandThemeforTextArea(errorCheckerService, dmode);
|
||||
addXQModeUI();
|
||||
debugToolbarEnabled = new AtomicBoolean(false);
|
||||
log("Sketch Path: " + path);
|
||||
log("Sketch Path: " + path);
|
||||
}
|
||||
|
||||
private void addXQModeUI(){
|
||||
@@ -737,7 +737,6 @@ public class DebugEditor extends JavaEditor implements ActionListener {
|
||||
if(autosaver != null)
|
||||
autosaver.stop();
|
||||
loadAutoSaver();
|
||||
//System.out.println("LOADDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD");
|
||||
return didOpen;
|
||||
}
|
||||
|
||||
@@ -878,10 +877,11 @@ public class DebugEditor extends JavaEditor implements ActionListener {
|
||||
}
|
||||
|
||||
public void loadAutoSaver(){
|
||||
log("Load Auto Saver()");
|
||||
if(autosaver != null){
|
||||
autosaver.stop();
|
||||
}
|
||||
autosaver = new AutoSaveUtil(this, dmode.autoSaveInterval);
|
||||
autosaver = new AutoSaveUtil(this, ExperimentalMode.autoSaveInterval);
|
||||
if(!autosaver.checkForPastSave()) {
|
||||
autosaver.init();
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user