Please find attached the .patch file for the option "Watch active buffer" added.
A new check box called "Watch active buffer" created inside group box "File Status Auto-Detection".
This option can be set using the Preferences window or a keyboard shortcut (CTRL+T).
Notepad++ verifies every 500ms if the active buffer (file) was changed outside of Notepad++.
For additional details please take a look at the updated documentation (\trunk\PowerEditor\misc\npp.help\HTML\Preferences.html).
Purpose of feature:
I found it useful for watching log files which are continuously modified.
Things still to improve:
- The timer period (500ms) is hard coded
- For files larger than 1 MB the updating period gets visible bigger than 500ms
- The redrawing process is visible (the views are blinking during the update, even if the watched file is relatively small - around 10KB)
Thank you and have a restful night or joyful day! :)