EmEditor (text editor) Forum Index
   EmEditor Core Enhancement Suggestions
     Code Navigation: GoBack/GoForward + "Jump to a Previous View"
Register To Post

Threaded | Newest First Previous Topic | Next Topic | Bottom
Poster Thread
dmitryl
Posted on: 3/19/2012 7:13 am
Just can't stay away
Joined: 12/25/2009
From:
Posts: 73
Code Navigation: GoBack/GoForward + "Jump to a Previous View"
Hello All,

Many times I feel that I need a "Jump to a Previous View" feature - one like we have in the Adobe Acrobat.

Is it possible to implement this feature please?

It will be very useful to have a GoBack/GoForward Jusmps as well (lt's say with a history of 10 last jumps or even more)

Thank you!
Yutaka
Posted on: 3/19/2012 3:04 pm
Webmaster
Joined: 9/28/2006
From: Redmond
Posts: 2404
Re: Code Navigation: GoBack/GoForward + "Jump to a Previous View"
I am not sure exactly what you would like, but in the Projects plug-in, you can press F12 to jump to the function at the cursor, and then Ctrl + * to go back to the previous position.


----------------
Yutaka Emura
Developer of EmEditor
http://www.emeditor.com/

dmitryl
Posted on: 3/20/2012 12:55 am
Just can't stay away
Joined: 12/25/2009
From:
Posts: 73
Re: Code Navigation: GoBack/GoForward + "Jump to a Previous View"
Ok, I'm exactly what you wrote about, but not only for the function jumps - for rest of the cases as well.
For example, when I click on the item in the Outline plugin sidebar, my cursor jumps to a new position (jumps some code). So, it would be very useful to have a keyboard shortcut, which would allow to jump the cursor back to it previous position. Many other scenarios might be involved as well.
Is it difficult to implement such feature?
Thank you!
Yutaka
Posted on: 3/20/2012 8:38 am
Webmaster
Joined: 9/28/2006
From: Redmond
Posts: 2404
Re: Code Navigation: GoBack/GoForward + "Jump to a Previous View"
The Move to Last Edited Position command (Edit > Advanced) will jump to the last cursor position. The default shortcut key for this command is Ctrl + Shift + Z. I hope this helps.

Thanks!


----------------
Yutaka Emura
Developer of EmEditor
http://www.emeditor.com/

dmitryl
Posted on: 3/20/2012 9:11 am
Just can't stay away
Joined: 12/25/2009
From:
Posts: 73
Re: Code Navigation: GoBack/GoForward + "Jump to a Previous View"
Yutaka,

Thank you for the tip! This is in case of editing... But what's about just viewing/navigation through the code? Is it difficult to keep a history of the cursor position (let's say 10 positions back) or just a position of the text related to the main text window?

BTW, as for the Markers, can they be generated automatically?

Thank you!

Yutaka
Posted on: 3/21/2012 9:12 am
Webmaster
Joined: 9/28/2006
From: Redmond
Posts: 2404
Re: Code Navigation: GoBack/GoForward + "Jump to a Previous View"
It is possible to keep 10 or more cursor position history unless the document is edited. What do you mean by generating bookmarks automatically.

Thanks!


----------------
Yutaka Emura
Developer of EmEditor
http://www.emeditor.com/

dmitryl
Posted on: 3/21/2012 9:44 am
Just can't stay away
Joined: 12/25/2009
From:
Posts: 73
Re: Code Navigation: GoBack/GoForward + "Jump to a Previous View"
Okay, if you can implement the 10 or more cursor position history of the cursor, you would not need an automatic generating of the bookmarks.
An automatic generating of the bookmarks is very similar to the page number of the code. The code is virtually divided to the pages (a code portion, which is fitted to the actual size of the main window). This allow jumping not just to the line number, but to the page number as well (might be useful in large files). When the Main Window is re-sized, then the so-called page-bookmarks are re-generated. I don't know how it's difficult to implement such feature ...
But, as for the cursor history 10 positions backward and forward, would you like to implement this feature. It could be very useful for the code navigation.
Thank you!
Stefan
Posted on: 5/10/2013 3:33 am
Home away from home
Joined: 7/14/2008
From: Germany, EU
Posts: 265
Re: Code Navigation: GoBack/GoForward + "Jump to a Previous View"
 

I was also searching for enhancement
of the "Move to Last Edited Position" function.


If possible I would like to have the possibility
to cycle through the last ten* lines
where a modification were made.

If I reach the tenth (or just last in list) modified line,
the next using of this command will turn around
to the most recent modified line.


* maybe configurable?


Thanks.
mguttman
Posted on: 5/10/2013 8:27 am
Just can't stay away
Joined: 11/14/2009
From: Ashdod, Israel
Posts: 77
Re: Code Navigation: GoBack/GoForward + "Jump to a Previous View"
I also vote for such an enhancement!

My model is the browser's ALT-Left/Right arrow to go backward and forward to previous positions. Exact column positions is less, or not at all important. In fact, I would rather not "waste" edit points on "micro" positions, say on the same line. What I need is "macro" jumps to code segments "under construction".

As for edited out positions, a line above the original (or below) is fine with me.


----------------
Regards,
Meir

Threaded | Newest First Previous Topic | Next Topic | Top


Register To Post
 
English čeština Deutsch español français italiano 日本語 한국어 Русский 简体中文 繁體中文