Browse Source

[BUG_FIXED] v4.2.1 : Fix regression bug : replace in selection bug.

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository@6 f5eea248-9336-0410-98b8-ebc06183d4e3
pull/343/head^2
donho 18 years ago
parent
commit
a789174c0b
  1. 4
      PowerEditor/bin/change.log
  2. 13
      PowerEditor/installer/nppSetup.nsi
  3. 12
      PowerEditor/src/Notepad_plus.rc
  4. 26
      PowerEditor/src/ScitillaComponent/FindReplaceDlg.cpp

4
PowerEditor/bin/change.log

@ -1,4 +1,4 @@
v4.2 fixed bugs and added features (from v4.1.2) :
v4.2.1 fixed bugs and added features (from v4.1.2) :
1. Fix the dockable dialog drag and drop problem under vista.
2. Add Column mode edition feature (Menu "Edit->Column Editor...").
@ -19,6 +19,6 @@ Plugins included in v4.2 :
4. NppExec v0.2 beta 4
5. Spell checker v1.1
6. Quick text v0.02
7. Explorer v1.4
7. Light Explorer v1.4
8. Hex editor v0.84

13
PowerEditor/installer/nppSetup.nsi

@ -17,13 +17,13 @@
; Define the application name
!define APPNAME "Notepad++"
!define APPNAMEANDVERSION "Notepad++ v4.2"
!define APPNAMEANDVERSION "Notepad++ v4.2.1"
; Main Install settings
Name "${APPNAMEANDVERSION}"
InstallDir "$PROGRAMFILES\Notepad++"
InstallDirRegKey HKLM "Software\${APPNAME}" ""
OutFile "..\bin\npp.4.2.Installer.exe"
OutFile "..\bin\npp.4.2.1.Installer.exe"
@ -644,9 +644,9 @@ SubSection "Plugins" Plugins
SectionEnd
Section "File Browser" FileBrowser
Delete "$INSTDIR\plugins\ExplorerPlugin.dll"
Delete "$INSTDIR\plugins\LightExplorer.dll"
SetOutPath "$INSTDIR\plugins"
File "..\bin\plugins\Explorer.dll"
File "..\bin\plugins\LightExplorer.dll"
SectionEnd
Section "Hex Editor" HexEditor
@ -844,9 +844,8 @@ SubSection un.Plugins
SectionEnd
Section un.FileBrowser
Delete "$INSTDIR\plugins\Explorer.dll"
Delete "$INSTDIR\plugins\Config\Explorer.ini"
RMDir "$INSTDIR\plugins\Config"
Delete "$INSTDIR\plugins\LightExplorer.dll"
Delete "$INSTDIR\lightExplorer.ini"
RMDir "$INSTDIR\plugins\"
SectionEnd

12
PowerEditor/src/Notepad_plus.rc

@ -20,11 +20,11 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#include <windows.h>
#include "resource.h"
#define NOTEPAD_PLUS_VERSION "Notepad++ v4.2"
#define NOTEPAD_PLUS_VERSION "Notepad++ v4.2.1"
VS_VERSION_INFO VERSIONINFO
FILEVERSION 4, 2, 0, 0
PRODUCTVERSION 4, 2, 0, 0
FILEVERSION 4, 2, 1, 0
PRODUCTVERSION 4, 2, 1, 0
FILEFLAGSMASK 0x3fL
FILEFLAGS 0
FILEOS VOS_NT_WINDOWS32
@ -41,12 +41,12 @@ BEGIN
BEGIN
VALUE "CompanyName", "Don HO don.h@free.fr\0"
VALUE "FileDescription", "Notepad++ : a free (GNU) source code editor\0"
VALUE "FileVersion", "4.1.2\0"
VALUE "FileVersion", "4.2.1\0"
VALUE "InternalName", "npp.exe\0"
VALUE "LegalCopyright", "Copyleft 1998-2006 by Don HO\0"
VALUE "OriginalFilename", "Notepad++.exe\0"
VALUE "ProductName", "Notepad++\0"
VALUE "ProductVersion", "4.1.2\0"
VALUE "ProductVersion", "4.2.1\0"
END
END
END
@ -395,7 +395,7 @@ BEGIN
POPUP "&Language"
BEGIN
MENUITEM "ADA", IDM_LANG_ADA
MENUITEM "Ada", IDM_LANG_ADA
MENUITEM "ASP", IDM_LANG_ASP
MENUITEM "Assembler", IDM_LANG_ASM
MENUITEM "AutoIt", IDM_LANG_AU3

26
PowerEditor/src/ScitillaComponent/FindReplaceDlg.cpp

@ -398,14 +398,6 @@ BOOL CALLBACK FindReplaceDlg::run_dlgProc(UINT message, WPARAM wParam, LPARAM lP
}
return TRUE;
/*case IDD_FINDINFILES_GOBACK_BUTTON :
doDialog(FIND_DLG);
return TRUE;
case IDC_GETCURRENTDOCTYPE :
*((LangType *)lParam) = (*_ppEditView)->getCurrentDocType();
return TRUE;*/
case IDCMARKALL :
{
if (_currentStatus == FIND_DLG)
@ -521,7 +513,7 @@ BOOL CALLBACK FindReplaceDlg::run_dlgProc(UINT message, WPARAM wParam, LPARAM lP
case IDC_IN_SELECTION_CHECK :
{
if (_currentStatus == FIND_DLG)
if (_currentStatus == REPLACE_DLG)
_isInSelection = isCheckedOrNot(IDC_IN_SELECTION_CHECK);
}
return TRUE;
@ -562,24 +554,8 @@ BOOL CALLBACK FindReplaceDlg::run_dlgProc(UINT message, WPARAM wParam, LPARAM lP
if ((strlen(directory) > 0) && (directory[strlen(directory)-1] != '\\'))
_directory += "\\";
//::SendMessage(_hParent, WM_COMMAND, IDC_FINDINFILES_LAUNCH, 0);
updateCombo(IDFINDWHAT);
// thread to launch :
findAllIn(FILES_IN_DIR);
//Thread
//HANDLE hEvent = ::CreateEvent(NULL, FALSE, FALSE, "findInFilesEvent");
//--HANDLE hFindInFilesThread = ::CreateThread(NULL, 0, staticFindInFilesFunc, this, 0, NULL);
//::WaitForSingleObject(hEvent, INFINITE);
//::CloseHandle(hFindInFilesThread);
//::CloseHandle(hEvent);
//::MessageBox(NULL, "Fin de thread", "", MB_OK);
//display(false);
}
}

Loading…
Cancel
Save