From 4ae42c565484c809878c690461cafaa911f8eed7 Mon Sep 17 00:00:00 2001 From: harrybharry Date: Thu, 17 Jul 2008 14:40:52 +0000 Subject: [PATCH] Fix bug when closing file using close button. Add Scintilla vcproj file for VS 2003 git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository@294 f5eea248-9336-0410-98b8-ebc06183d4e3 --- PowerEditor/src/Notepad_plus.cpp | 2 +- scintilla/vcbuild/SciLexer.7.vcproj | 582 ++++++++++++++++++++++++++++ 2 files changed, 583 insertions(+), 1 deletion(-) create mode 100644 scintilla/vcbuild/SciLexer.7.vcproj diff --git a/PowerEditor/src/Notepad_plus.cpp b/PowerEditor/src/Notepad_plus.cpp index f4ba0eee6..ad2055b85 100644 --- a/PowerEditor/src/Notepad_plus.cpp +++ b/PowerEditor/src/Notepad_plus.cpp @@ -1920,7 +1920,7 @@ BOOL Notepad_plus::notify(SCNotification *notification) int iView = isFromPrimary?MAIN_VIEW:SUB_VIEW; if (buf->isDirty()) { //activate and use fileClose() (for save and abort) activateBuffer(bufferToClose, iView); - fileClose(); + fileClose(bufferToClose, iView); break; } int open = 1; diff --git a/scintilla/vcbuild/SciLexer.7.vcproj b/scintilla/vcbuild/SciLexer.7.vcproj new file mode 100644 index 000000000..e2cbe49aa --- /dev/null +++ b/scintilla/vcbuild/SciLexer.7.vcproj @@ -0,0 +1,582 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +