[BUG_FIXED] Fix all doc tab blink bug when Notepad++ is re-activated.

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository@227 f5eea248-9336-0410-98b8-ebc06183d4e3
This commit is contained in:
donho 2008-06-12 22:07:19 +00:00
parent f7397ed5ec
commit f7f1e9bf77
2 changed files with 23 additions and 22 deletions

View File

@ -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). 1. Improve Notepad++ performance - on startup and on exit.
2. Enhance visual effect of Mark all feature. 2. Add Calltip capacity.
3. Enhance Incremental search dialog docking. 3. All the menu commands can be added in context menu, including plugins' commands, macros and user defined commands.
4. Enhance Incremental search : add Highlight all feature. 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. Add auto-hide menu feature (IE7 style menu - Alt or F10 to toggle) 5. Fix crash bug : Open files with date pre-1970.
6. Enhance tool bar GUI usability (display a chevron while some tool icons hidden). 6. Fix clone mode bug : now the actions done in one view will be synchronized in the cloned view.
7. Add style transparency feature, right click on color to enable. 7. Add tooltips in document tab to display the full file name path.
8. Fix the files not opening by DnD bug. 8. Change hide lines behaviour : Hide lines now saved during switches.
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 \\). 9. Change file history list behaviour : Most recent closed file is on the top. Add number on list.
10. Bug fixed : Find dialog always scrolls text into view now. 10. Caret width and blink rate are customizable.
11. Add places bar in save as dialog 11. Add asterisk in title bar if file is dirty.
12. Fix non-recognized relative path bug in command line mode (under Dos prompt). 12. The bookmarks' look & feel are improved.
13. Add 2 messages for doc monitor plugin. 13. Add "Select all" and "copy" context menu items in Find in files results window.
14. Fix the transparency bug (in Styler Configurator). 14. Fix goto line with command line bug.
15. Make search in hidden directory (for Find in files) optional. 15. Improve smart highlight / mark all / incremental search highlight all visibility
16. Fix the replace bug while replacing nothing. 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. Fix the F3 searching direction bug. 17. Add the smart highlight file size limit - 1.5 MB in order to improve the performance.
18. Fix the regression bug that x position doesn't be restored while switching back a document. 18. Add exception handling (dumping filedata).
19. Add "Save a Copy As" feature.
Included plugins : Included plugins :

View File

@ -150,7 +150,10 @@ bool Buffer::checkFileState() { //returns true if the status has been changed (i
_timeStamp = 0; _timeStamp = 0;
doNotify(BufferChangeStatus | BufferChangeReadonly | BufferChangeTimestamp); doNotify(BufferChangeStatus | BufferChangeReadonly | BufferChangeTimestamp);
return true; 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)) if (!_stat(_fullPathName, &buf))
{ {
_isFileReadOnly = (bool)(!(buf.st_mode & _S_IWRITE)); _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; return true;
} }
doNotify(BufferChangeReadonly | BufferChangeTimestamp);
return false; return false;
} }
return false; return false;