mirror of
https://github.com/processing/processing4.git
synced 2026-02-11 17:40:48 +01:00
Beginning auto save impl
This commit is contained in:
@@ -177,6 +177,8 @@ public class DebugEditor extends JavaEditor implements ActionListener {
|
||||
*/
|
||||
protected JCheckBoxMenuItem completionsEnabled;
|
||||
|
||||
protected AutoSaveUtil autosaver;
|
||||
|
||||
public DebugEditor(Base base, String path, EditorState state, Mode mode) {
|
||||
super(base, path, state, mode);
|
||||
|
||||
@@ -244,6 +246,8 @@ public class DebugEditor extends JavaEditor implements ActionListener {
|
||||
addXQModeUI();
|
||||
debugToolbarEnabled = new AtomicBoolean(false);
|
||||
log("Sketch Path: " + path);
|
||||
autosaver = new AutoSaveUtil(this, 5);
|
||||
autosaver.init();
|
||||
}
|
||||
|
||||
private void addXQModeUI(){
|
||||
|
||||
Reference in New Issue
Block a user