Menu

feature request: back and forward buttons

coder
2009-04-16
2012-11-13
  • coder

    coder - 2009-04-16

    Hi all active notepad++ developers.

    Notepad is the best of the best free editors, and I use it a lot.

    One feature i am really missing is the well known "back" and "forward" buttons to jump to the previosly located place in the code.

    For example when I use OpenCtags plugin to jump between functions i can't easy jump back to the previosly watched codeplase.

    I think I am not only one , who needs this feature.

    Best regards,
    simplycoder.

     
    • cchris

      cchris - 2009-04-21

      You are almost right, Thell:

      1/ The download policies of the org for which I work block pages related to "Personal Network File Shares", so that it is a bit clumsy to install the plugin here.

      2/ More seriously, your plugin autobookmarks changed lines. So, when you do a search and wish to come back later to some match, you have to change the line (like adding a space at the end) so that it gets inserted in the autobookmark history.

      CChris

       
      • Thell Fowler

        Thell Fowler - 2009-04-21

        Good points CChris,

        1/ The download policies of the org for which I work block pages related to "Personal Network File Shares", so that it is a bit clumsy to install the plugin here.

        Method of access to the plugin will be changing soon.  :D

        2/ More seriously, your plugin autobookmarks changed lines. So, when you do a search and wish to come back later to some match, you have to change the line (like adding a space at the end) so that it gets inserted in the autobookmark history

        First, it doesn't auto-bookmark anything; bookmarks don't track as accurately ( see Scintilla group posting for the bug info ).

        Second; if you are wanting to move through the document after doing a search either using the mark option of the search or ( as I prefer ) find all in current document as use the jumping provided by the new view.  That was something I wanted to do with the Change Marker plugin as well, but never got around to it.

        As a side note, I was using this single line of the OP:

        'One feature i am really missing is the well known "back" and "forward" buttons to jump to the previosly located place in the code.'

        I thought it obvious that the OP was not referring to the previous position the cursor was at, but rather the previous position an edit took place.  No doubt, I could be wrong on that assumption.  If not though, then that is what the change marker plugin will do ( albeit for unsaved changes only )

        almostautomated

         
    • Bill Wire

      Bill Wire - 2009-04-16

      Is this a different feature than being able to create a bookmark and navigate back and forth between them?

      That's how I perform the jumping around you're speaking of.

      -Bill

       
    • Jan Schreiber

      Jan Schreiber - 2009-04-17

      I guess what coder means is something like "remember last cursor position," which should probably look and feel similar to the back and forward button functionality in a web browser. It is of course similar to the bookmark functionality, but it would work without the need to mark a line manually.
      I guess it's not easy at all to make something like this work in an intuitive fashion. For example, when typing, I would certainly not want to jump to the previous letter.

       
    • cchris

      cchris - 2009-04-17

      You need only the changes in current line to be monitored. This simplifies the problem.

      But it also means being able to jump back to a line that has moved around because of insertions and deletions.

      So, the facility looks like just autobookmarking the current line with invisible bookmarks with a serial number attached as a tag, with some simple interface to
      go to next/prev autobookmark. "prev" means the autobookmark with the largest tag number below current and still existing. Similarly for next.

      CChris

       
    • Jan Schreiber

      Jan Schreiber - 2009-04-17

      Yes, auto-bookmarking sounds like a good approach. In any case, count me in on those who would love to have it.

       
    • Thell Fowler

      Thell Fowler - 2009-04-19

      I guess none of you have tried NppPlugin_ChangeMarker...

      It provides this.