nedit-ng
nedit-ng copied to clipboard
Command/macro to go back to last line(s) visited in file ?
Hi all, apologies if this is the wrong place to raise this, it's been a while since I did much on github. Thanks again Evan for a great editor, I use it every day. Something I find I could use a lot, is a facility to go back to where I last was in a file. Example: editing some code, search for some term, find it, read what I need to know, and now i want to go back to where I was and continue editing. I could do this by splitting the window and using the second window just as a search sandpit, or having the same file open in a second tab and doing the same sandpit .. and often I do that .. but sometimes I haven't thought ahead and I'm in a single file and I just want to get back to where I was before a search.
Maybe there could be a "stack" of locations visited, and you could go back through the list. This would cater for a search where you search through a few places until you find the one you want.
It's possible this is already easily do-able, in which case I will have egg on face :=(
Thanks in advance for comments ! or .. ATdhvaannkcse .. ah the old ones are the best.
If I understand it correctly, what you're looking for is the ability to navigate the history of cursor positions. This is a great idea and I'd love to implement it!
I'm just about to call a night, but there may be some small features that can basically get you there. I'll try to take a look at it tomorrow.
Thanks. I guess the Mark (a to z) and Goto Mark commands do some of what's needed here. And they compensate for changes in the file after things are marked. I rarely use these.
On Mon, 5 Feb 2024 at 15:19, Evan Teran @.***> wrote:
If I understand it correctly, what you're looking for is the ability to navigate the history of cursor positions. This is a great idea and I'd love to implement it!
I'm just about to call a night, but there may be some small features that can basically get you there. I'll try to take a look at it tomorrow.
— Reply to this email directly, view it on GitHub https://github.com/eteran/nedit-ng/issues/352#issuecomment-1926204412, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH66LHCB5UR2JZYUARNC5ILYSBMVXAVCNFSM6AAAAABCVXTILWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRWGIYDINBRGI . You are receiving this because you authored the thread.Message ID: @.***>
-- Greg Edwards