 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?
|
 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.
|
 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.
|
 simon
Key Master
|
This is a nice feature, definitely something I’d like to see built-in at some point.
|