[BUG_FIXED] Pass the message with *W version for Scintilla.

change.log and todo.txt are updated

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository@91 f5eea248-9336-0410-98b8-ebc06183d4e3
This commit is contained in:
donho 2007-12-30 00:02:50 +00:00
parent 64fbc8a627
commit 6edeeff8d7
4 changed files with 28 additions and 24 deletions

View File

@ -1,23 +1,29 @@
Notepad++ v4.6 fixed bugs and added features (from v4.5) : Notepad++ v4.7 fixed bugs and added features (from v4.6) :
1. Add Notepad++ self-update capacity (optional). 1. Make the "recovery system" for 3 mandatory xml files (config.xml, langs.xml and stylers.xml) to prevent the fail loading due to the corrupted files.
2. Fix save file dialog crash issue. 2. Extend plugin capacity - add the Scintilla external lexer capacity.
3. Fix the crash issue while the length of config.xml is zero. 3. Add the ability to hide the tab bar with "-notabbar" flag in command line (ie. Notepad style).
4. Change the behaviour : When file is deleted from outside and switch back to Notepad++, user will be asked if he want to keep this file. If he answer yes, he will not be asked in the next time. 4. Column selection is remembered now while switching among the files. As well this settings will be stored in the next session.
5. Change Window title from "Notepad++ - file path" to "file path - Notepad++" 5. Add 2 Commends (beside Toggle Comment) Comment (Ctrl+K) and Uncomment (Ctrl+Shift+K).
6. Fix Run dialog bug: the executable file won't be executed even it is between the double quot. 6. Change "UTF8 without BOM" menu item behaviour.
7. Add open relative file path from command line feature. 7. Fix the hiding bug while launch time because of change of environment from duel monitors to mono monitor.
8. Fix the crash issue when open a file which does not exist anymore from RFL (if its path exceed certain length). 8. Remove vista UAC warning for GUP. Add "Update Notepad++" menu item.
9. Fix the bug that the title doesn't be updated while file status changed and updated. 9. Add NPPM_HIDETABBAR and NPPM_ISTABBARHIDE plugins messages.
10. Add NPPM_GETNPPVERSION message for plugin system.
11. Enhance the horizontal scroll feature.
12. Change Find in files behaviour : all the hidden directory won't be searched (for example : .svn).
13. Add build date-time in about box.
14. Fix a bug where a file with 2 or more consecutive spaces gives problems with sessions and history.
15. Fixe the problem where opening a file when in save as dialog saves the wrong file.
Included plugins : Included plugins :
1. TexFX v0.24a 1. TexFX v0.24a
2. Function list v1.2 2. NppExec v0.2 RC2
3. ConvertExt v1.1 3. Spell Checker v1.3.1
4. NppExec v0.2 beta 4 4. Quick text v0.02
5. Spell checker v1.2 5. Explorer plugin v1.6.1
6. Quick text v0.02 6. Hex editor v0.84
7. Light Explorer v1.4 7. Base64 encoder/decoder v1.2
8. Hex editor v0.84 8. FTP_synchronize v0.9.5.0
9. Base64 ecoder/decoder v1.2 9. NppExport v0.2.5.0

View File

@ -1,6 +1,4 @@
TODO: TODO:
1. A generic code formatter (for C, C++ and HTML...). (can be done by plugin) 1. A generic code formatter (for C, C++ and HTML...). (can be done by plugin)
2. A FTP client. (can be done by plugin) 2. A smart indent (TAB) for C or/and for HTML. (can be done by plugin)
3. A smart indent (TAB) for C or/and for HTML. (can be done by plugin)
4. Improve save file dialog. (when the filter is set, add the extension)

View File

@ -134,7 +134,7 @@ public:
bool isDlgsMsg(MSG *msg) const { bool isDlgsMsg(MSG *msg) const {
for (size_t i = 0; i < _hModelessDlgs.size(); i++) for (size_t i = 0; i < _hModelessDlgs.size(); i++)
{ {
if (::IsDialogMessage(_hModelessDlgs[i], msg)) if (::IsDialogMessageW(_hModelessDlgs[i], msg))
return true; return true;
} }

View File

@ -251,7 +251,7 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE, LPSTR lpszCmdLine, int nCmdSh
} }
notepad_plus_plus.init(hInstance, NULL, pPathNames, &cmdLineParams); notepad_plus_plus.init(hInstance, NULL, pPathNames, &cmdLineParams);
while (::GetMessage(&msg, NULL, 0, 0)) while (::GetMessageW(&msg, NULL, 0, 0))
{ {
// if the message doesn't belong to the notepad_plus_plus's dialog // if the message doesn't belong to the notepad_plus_plus's dialog
if (!notepad_plus_plus.isDlgsMsg(&msg)) if (!notepad_plus_plus.isDlgsMsg(&msg))
@ -260,7 +260,7 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE, LPSTR lpszCmdLine, int nCmdSh
{ {
try { try {
::TranslateMessage(&msg); ::TranslateMessage(&msg);
::DispatchMessage(&msg); ::DispatchMessageW(&msg);
} catch(std::exception ex) { } catch(std::exception ex) {
::MessageBox(NULL, ex.what(), "Exception", MB_OK); ::MessageBox(NULL, ex.what(), "Exception", MB_OK);
} catch(...) { } catch(...) {