Community
    • Login

    Notepad++ asks if the file should be reloaded after manual reload

    Scheduled Pinned Locked Moved General Discussion
    2 Posts 2 Posters 236 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J NJ
      J N
      last edited by J N

      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-l to 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.

      EkopalypseE 1 Reply Last reply Reply Quote 0
      • EkopalypseE
        Ekopalypse @J N
        last edited by

        @J-N

        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??

        1 Reply Last reply Reply Quote 1
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors