• Login
Community
  • Login

How do I improve the go to next bookmark option?

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
7 Posts 3 Posters 547 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.
  • A
    andrecool-68
    last edited by andrecool-68 Nov 27, 2019, 4:36 PM Nov 27, 2019, 4:35 PM

    Moving on to the next bookmark …to automatically move the cursor to the line with these bookmark
    Is it possible?

    M 1 Reply Last reply Nov 27, 2019, 5:04 PM Reply Quote 0
    • M
      Michael Vincent @andrecool-68
      last edited by Nov 27, 2019, 5:04 PM

      @andrecool-68
      “Automatically”? Not sure what you mean. I press F2 and it moves the cursor to each bookmarked line.

      A 1 Reply Last reply Nov 27, 2019, 6:28 PM Reply Quote 2
      • A
        Alan Kilborn
        last edited by Nov 27, 2019, 5:59 PM

        As @Michael-Vincent said, the cursor moves to the line of the bookmark, but it seems to move to column 1 always. Is what @andrecool-68 wants is for the cursor to be placed in the same column of the line as it was when the bookmark was originally placed?

        I could perhaps see the utility of this if one is working with very long lines.

        1 Reply Last reply Reply Quote 1
        • A
          andrecool-68 @Michael Vincent
          last edited by andrecool-68 Nov 27, 2019, 6:30 PM Nov 27, 2019, 6:28 PM

          @Michael-Vincent
          @Alan-Kilborn
          In this example, I’m using the HTMLTag plugin, I need to navigate to the bookmark using hotkeys, and highlight the contents of the tag.
          But the cursor appears before a line with a bookmark))
          I changed the hot keys so that there are no conflicts!

          Imgur

          1 Reply Last reply Reply Quote 0
          • A
            andrecool-68
            last edited by Nov 28, 2019, 7:49 AM

            @Michael-Vincent @Alan-Kilborn
            Found a solution to my question)))
            I wanted to make a macro, for some reason the plugin commands do not work in this macro ?!

            Imgur

            1 Reply Last reply Reply Quote 0
            • A
              Alan Kilborn
              last edited by Nov 28, 2019, 1:24 PM

              It is good that you found a solution, but a problem with what you did here really prevented others from providing any help. What you did was that you didn’t tell the whole story of what you were doing from the beginning. Instead you kept adding to the story over time. As a veteran poster here, I would have expected the whole story from the beginning.

              A 1 Reply Last reply Nov 28, 2019, 3:41 PM Reply Quote 3
              • A
                andrecool-68 @Alan Kilborn
                last edited by Nov 28, 2019, 3:41 PM

                @Alan-Kilborn
                After moving to the next bookmark, you need to click on the down arrow, and then everything turns out as I need.
                It’s a pity that it’s not possible to write all this into a macro, the macro does not see the operation with the plugin))

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