Community
    • 登入

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

    已排程 已置頂 已鎖定 已移動 General Discussion
    2 貼文 2 Posters 266 瀏覽
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • J NJ
      J N
      最後由 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 條回覆 最後回覆 回覆 引用 0
      • EkopalypseE
        Ekopalypse @J N
        最後由 編輯

        @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 條回覆 最後回覆 回覆 引用 1
        • 第一個貼文
          最後的貼文
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors