From 848a38096ef5d99307d03b928f95986c74579c40 Mon Sep 17 00:00:00 2001 From: Manindra Moharana Date: Tue, 21 Jan 2014 16:25:18 +0530 Subject: [PATCH] last few minor touches --- pdex/src/processing/mode/experimental/DebugEditor.java | 7 ++++--- .../src/processing/mode/experimental/ExperimentalMode.java | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/pdex/src/processing/mode/experimental/DebugEditor.java b/pdex/src/processing/mode/experimental/DebugEditor.java index 9e9c3064a..5c7cf945b 100755 --- a/pdex/src/processing/mode/experimental/DebugEditor.java +++ b/pdex/src/processing/mode/experimental/DebugEditor.java @@ -891,13 +891,14 @@ public class DebugEditor extends JavaEditor implements ActionListener { int response = Base .showYesNoQuestion(this, "Unsaved backup found!", - "An automatic backup of " + "An automatic backup of \"" + pastSave.getParentFile().getName() - + "sketch has been found. This may mean Processing quit unexpectedly last time.", + + "\" sketch has been found. This may mean Processing " + + "was closed unexpectedly last time.", "Select YES to view it or NO to delete the backup."); if(response == JOptionPane.YES_OPTION){ handleOpenInternal(pastSave.getAbsolutePath()); - Base.showMessage("Save it", "Remember to save the backup to a specific location if you want to."); + Base.showMessage("Save it..", "Remember to save the backup sketch to a specific location if you want to."); //log(getSketch().getMainFilePath()); return; } diff --git a/pdex/src/processing/mode/experimental/ExperimentalMode.java b/pdex/src/processing/mode/experimental/ExperimentalMode.java index 87b190d21..a75670057 100755 --- a/pdex/src/processing/mode/experimental/ExperimentalMode.java +++ b/pdex/src/processing/mode/experimental/ExperimentalMode.java @@ -119,7 +119,7 @@ public class ExperimentalMode extends JavaMode { volatile public static boolean errorCheckEnabled = true, warningsEnabled = true, codeCompletionsEnabled = true, debugOutputEnabled = false, errorLogsEnabled = false; - public static int autoSaveInterval = 5; //in minutes + public static int autoSaveInterval = 3; //in minutes public static final String prefErrorCheck = "pdex.errorCheckEnabled", prefWarnings = "pdex.warningsEnabled",