Community
    • 登入

    Save Session/Load Session + Toggle Bookmark DOESN'T WORK

    已排程 已置頂 已鎖定 已移動 Help wanted · · · – – – · · ·
    6 貼文 2 Posters 350 瀏覽
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • Vasile CarausV
      Vasile Caraus
      最後由 編輯

      hello, I have several files, more then 10.000 lines, each of them. I have many Toggle Bookmarks. So, I always save session, as to load each time those files and theirs Toggle Bookmarks.

      The big problem. After I load session, new Toggle Bookmarks appear, and others disappear or move from their place. Besides, even if I write new lines, the Toggle Bookmarks remain on its place, but after loading the session, it’s a haos. New Toggle Bookmarks appears above or below it.

      I found that only the file from which I save the session is saved well with its Toggle Bookmarks on exactly place.

      Please fix it. It’s annoying to keep arranging all the Toggle Bookmarks in all the files, after the load session.

      Alan KilbornA 2 條回覆 最後回覆 回覆 引用 0
      • Alan KilbornA
        Alan Kilborn @Vasile Caraus
        最後由 Alan Kilborn 編輯

        @Vasile-Caraus

        Personally, I would never depend upon Notepad++ to save my bookmark data if it was truly valuable to me to do so.

        Sure, it SHOULD do it correctly, but…

        Also, what happens if the file is edited or changed with another tool/process?
        Lines could move around and Notepad++, the next time it is used on the file, would place the remembered bookmarks incorrectly.

        Anyway, I present a script method for loading/saving bookmarks HERE which may be of some use.

        1 條回覆 最後回覆 回覆 引用 2
        • Vasile CarausV
          Vasile Caraus
          最後由 編輯

          if you want to improve Notepad++, you should fix this error. After all, notepad++ has to get better and better.

          I don’t know Python or how to use your script, sorry.

          Alan KilbornA 1 條回覆 最後回覆 回覆 引用 0
          • Alan KilbornA
            Alan Kilborn @Vasile Caraus
            最後由 編輯

            @Vasile-Caraus said in Save Session/Load Session + Toggle Bookmark DOESN'T WORK:

            And here we go with Vasile, yet again (there’s a history for this…sadly)

            if you want to improve Notepad++

            yes, always

            you should fix this error.

            Well, I’m not a dev on N++, so that’s out of the question.
            But, I’m still not sure the “error” isn’t actually yours.
            How about being thorough and presenting a small, completely reproduceable example?
            Effort in (yours) might prompt effort out (from others).

            I don’t know Python or how to use your script, sorry.

            No worries.
            You’re the one with the problem.
            I thought the script, with a teeny tiny bit of effort on your side, might help.
            Guess not.

            1 條回覆 最後回覆 回覆 引用 1
            • Vasile CarausV
              Vasile Caraus
              最後由 Vasile Caraus 編輯

              it’s not about me, @Alan-Kilborn . If it wasn’t me, someone else would have noticed the problem.

              it is about improving a software, in order to become as efficient as possible.

              1 條回覆 最後回覆 回覆 引用 0
              • Alan KilbornA
                Alan Kilborn @Vasile Caraus
                最後由 編輯

                @Vasile-Caraus said in Save Session/Load Session + Toggle Bookmark DOESN'T WORK:

                Please fix it.

                it’s not about me, it is about improving a software

                It seems odd that someone who has been around the forum enough to post 275 times doesn’t know the proper PROCEDURE for filing a bug report.

                If you end up going that route, be sure to heed my advice from earlier, in your report:

                How about being thorough and presenting a small, completely reproduceable example

                1 條回覆 最後回覆 回覆 引用 1
                • 第一個貼文
                  最後的貼文
                The Community of users of the Notepad++ text editor.
                Powered by NodeBB | Contributors