How to retrace your steps (cursor position) in open files in PN?

Discussion Forums discussion How to retrace your steps (cursor position) in open files in PN?

This topic contains 3 replies, has 3 voices, and was last updated by  simon 2 years, 2 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
Author Posts
Author Posts
July 13, 2012 at 8:13 pm #13154

tanveer
Member

Hi,

I would like to know if it is possible in PN to backtrack your steps (within same file or across multiple open files). For example I am at file1:position1. I move to file1:position2. Now how do I go back to the previous position. This is very useful when you have lot of files open and you are quickly jumping through them. If this is not possible currently, is such a feature planned? I know putting bookmarks can help but it is cumbersome. Is it possible to accomplish this with PyPN plugin?

July 13, 2012 at 9:40 pm #19150

NickDMax
Member

You can use ctrl+F2 to set/reset bookmarks and then use F2 to scroll through them.

I think this could *almost* be done with PyPN. PyPN can get the current position and push it into a circular stack… the problem is triggering it with some event. PyPN can keep track of character events but I don’t think it can keep track of mouse clicks.

So making a “goto last edit” feature is easy. Goto last cursor position may not really be possible (though I am not ruling it out).

Looking at the PyPN API (granted it is a little out of date) I only see onCharAdd, onDocLoad, onDocSave, onModifiedChanged… so these points and hotkeys are the only events that could trigger grabbing the current location.

July 16, 2012 at 6:47 pm #19153

tanveer
Member

Thanks NickDMax for your reply. And yes I see I have limited options. And also looks like this is a feature that should be implemented in the application itself.

July 18, 2012 at 9:01 pm #19170

simon
Key Master

This is a nice feature, definitely something I’d like to see built-in at some point.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.