Diff of /src/SciTEIO.cxx [e3f9c5] .. [2ca8a8]  Maximize  Restore

Switch to side-by-side view

--- a/src/SciTEIO.cxx
+++ b/src/SciTEIO.cxx
@@ -798,8 +798,12 @@
 }
 
 int SciTEBase::SaveIfUnsure(bool forceQuestion) {
-	if (CurrentBuffer()->pFileWorker && !CurrentBuffer()->pFileWorker->IsLoading()) {
-		return IDNO;
+	if (CurrentBuffer()->pFileWorker) {
+		if (CurrentBuffer()->pFileWorker->IsLoading())
+			// In semi-loaded state so refuse to save
+			return IDCANCEL;
+		else
+			return IDNO;
 	}
 	if ((CurrentBuffer()->isDirty) && (LengthDocument() || !filePath.IsUntitled() || forceQuestion)) {
 		if (props.GetInt("are.you.sure", 1) ||

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks