[bug 5005] Reload not triggering when expected, on document,tab switch
Notepad++ project is moving to GitHub:
Brought to you by:
donho
This patch is to resolve the bug I encountered here,
#5005 Reload not triggering when expected, on tab switch, instead of mandatory minimize
With this, when switching the document,tab to another, it will check for a change to a modified document,tab and as usual ask to update the document,tab
Before, It would only ask to update if a minimize or focus to another app occurred first.
It is a one line of code fix.
This patch was created using revision 1277 of the source code, VS2013 was used to build Notepad++ version 6.6.9. Thanks to Matt Horvath for the VS2013 fix and the convenient xml,dll files.
Last edit: Stan S 2014-10-06
Seems the first patch I perhaps inverted the original and new_fixed files in my first patch attempt Oct 6.
Here is the updated fix patch.
Last edit: Stan S 2014-11-15
Sorry I cannot integrate it for the following reason:
By checking all document on activating a document, your latest patch has undefined behaviour and may generated unexpected result.
It was by design for not detecting the changement from outside while user stays in Notepad++ - the detection is only done after Notepad++ regaining focus.
Don