Notepad++ asks if the file should be reloaded after manual reload
-
Re: Notepap++ asks if the file should be reloaded after manual reload
Using Notepad++ 7.8.5 (64-bit).
When monitoring log files, I hit
Alt-f-lto reload the log file (same as File → Reload from Disk), the file reloads, and then immediately prompts to ask if I want to reload it.Testing with a slow moving log file. There are no changes to it between when I manually reload, and the prompt occurs.
The prompt only occurs when there is a change as of when I manually reload the file.
I don’t want to turn on silent update.
I think what’s probably happening is a quick focus change, causing the prompt prior to completing the manual reload.
If that’s the case, the solution would could be a way to reload the file without the tab losing focus.
-
npp has a callback FILEBEFORELOAD maybe this can/should be used
by npp internally in order to clear any new update notification received
at this point.
Do you by any chance use PythonScript plugin??
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login