diff --git a/PowerEditor/bin/change.log b/PowerEditor/bin/change.log index e2c0c5450..5277e9210 100644 --- a/PowerEditor/bin/change.log +++ b/PowerEditor/bin/change.log @@ -1,24 +1,23 @@ -Notepad++ v4.9.2 fixed bugs and added features (from v4.8.5) : +Notepad++ v5 fixed bugs and added features (from v4.9.2) : -1. Add smart highlighting feature (double click a word to highlight all the same word in the document). -2. Enhance visual effect of Mark all feature. -3. Enhance Incremental search dialog docking. -4. Enhance Incremental search : add Highlight all feature. -5. Add auto-hide menu feature (IE7 style menu - Alt or F10 to toggle) -6. Enhance tool bar GUI usability (display a chevron while some tool icons hidden). -7. Add style transparency feature, right click on color to enable. -8. Fix the files not opening by DnD bug. -9. Enhance Find Replace dialog : Add "Extended" option - search (and replace) for tabs(\t), newline(\n\r), and a characters by it's value (\o, \x, \b, \d, \t, \n, \r and \\). -10. Bug fixed : Find dialog always scrolls text into view now. -11. Add places bar in save as dialog -12. Fix non-recognized relative path bug in command line mode (under Dos prompt). -13. Add 2 messages for doc monitor plugin. -14. Fix the transparency bug (in Styler Configurator). -15. Make search in hidden directory (for Find in files) optional. -16. Fix the replace bug while replacing nothing. -17. Fix the F3 searching direction bug. -18. Fix the regression bug that x position doesn't be restored while switching back a document. -19. Add "Save a Copy As" feature. +1. Improve Notepad++ performance - on startup and on exit. +2. Add Calltip capacity. +3. All the menu commands can be added in context menu, including plugins' commands, macros and user defined commands. +4. Add bookmarked lines operations : delete all marked lines, copy all marked lines into clipboard, cut all marked lines into clipboard, paste from clipboard to replace all marked lines content. +5. Fix crash bug : Open files with date pre-1970. +6. Fix clone mode bug : now the actions done in one view will be synchronized in the cloned view. +7. Add tooltips in document tab to display the full file name path. +8. Change hide lines behaviour : Hide lines now saved during switches. +9. Change file history list behaviour : Most recent closed file is on the top. Add number on list. +10. Caret width and blink rate are customizable. +11. Add asterisk in title bar if file is dirty. +12. The bookmarks' look & feel are improved. +13. Add "Select all" and "copy" context menu items in Find in files results window. +14. Fix goto line with command line bug. +15. Improve smart highlight / mark all / incremental search highlight all visibility +16. Tabbar's coulours is configurable via Stylers Configurator(Active tab Text, Inactive tab text, Inactive tab background, Active tab focused indicator and Active tab unfocused indicator). +17. Add the smart highlight file size limit - 1.5 MB in order to improve the performance. +18. Add exception handling (dumping filedata). Included plugins : diff --git a/PowerEditor/src/ScitillaComponent/Buffer.cpp b/PowerEditor/src/ScitillaComponent/Buffer.cpp index 21f77ea60..4adc3e551 100644 --- a/PowerEditor/src/ScitillaComponent/Buffer.cpp +++ b/PowerEditor/src/ScitillaComponent/Buffer.cpp @@ -150,7 +150,10 @@ bool Buffer::checkFileState() { //returns true if the status has been changed (i _timeStamp = 0; doNotify(BufferChangeStatus | BufferChangeReadonly | BufferChangeTimestamp); return true; - } else if (_currentStatus == DOC_DELETED && PathFileExists(_fullPathName)) { //document has returned from its grave + } + + if (_currentStatus == DOC_DELETED && PathFileExists(_fullPathName)) + { //document has returned from its grave if (!_stat(_fullPathName, &buf)) { _isFileReadOnly = (bool)(!(buf.st_mode & _S_IWRITE)); @@ -173,7 +176,6 @@ bool Buffer::checkFileState() { //returns true if the status has been changed (i return true; } - doNotify(BufferChangeReadonly | BufferChangeTimestamp); return false; } return false;