10

If I am editing a large document in notepad++,

Then, I press Ctrl+End and the curso goes to the end of the file.

Is there any method to position the cursor in the previous position?

12

There is the plugin "location navigate".

https://sourceforge.net/projects/locationnav/

Features

Automatic record the cursor position, you can set each position offset.

You can jump to any position that your cursor have been visited.

Can use shortcut( ctrl + - for back position and ctrl + shift+ - for forward position ) to jump code back and forward

History position can automatic adjusted when text modify.

Support jump between open files, if files closed ,it will open it automatic.

Location history can be set to whether cleaned when file is closed

Can jump to any modified location ( ctrl+atl + z ) back and forward ( ctrl+atl + y ) in the history list it is marked by '!'

Will always record the position even after you jumped by setting 'Always record'.

Toolbar's button will auto be diabled or enabled in different state

| improve this answer | |
  • I test it. It is a very good plugin – Emilio Platzer May 29 '17 at 13:32
  • 2
    Also, if you like, you can change the keyboard shortcut commands for this plugin in the Notepad++ keyboard settings. I set them to Alt-Left and Alt+Right Arrow. – Ray Hulha Jan 21 '18 at 2:20
  • A word of caution - Its a wonderful plugin, but I've noticed it crash Notepad++ sometimes, specially in auto recording mode. I'd lost unsaved changes multiple times because of this. The crash maybe specific to my machine, but still wanted users to be vigilant. – subdeveloper Mar 5 at 8:28
0

For navigating back to the previous position I do CTRL-Z then CTRL-Y. That's the easiest and quickest method. When it undoes the previous text change and puts it back the cursor stays at the last change. If you have a large document enter a comment such as "mark here" and search for the comment.

| improve this answer | |
0

I use the SourceCookifier plugin, which can be installed from PluginsPlugin Admin.

Among its other functionality, it navigates back and forth with Alt + Left or Alt + Right.

Features:

  • Go to definition
  • Navigate backward/forward
  • Tag name search
  • Different session modes
  • Customizable appearance and parsing rules
  • Supports custom languages

Here is a screenshot:

Screenshot

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.