After thinking carefully for a while, I get the definition of a "recorded jump"
I'm not sure how to implement this functionality, I can only recall some code when I see in "implement undo and redo". So, we can define a
Forward position stack and
Backword position stack. Each entry of the stack contains two values ( the file name and the position line number )
1
If I use the context menu, then select "Go to declaration... " or "Go to definition...", then the caret position will be push to the Backword position stack before each jump.
2
If I click the mouse cross tabs, which means I change edit point from A.cpp to B.cpp, the caret position in A.cpp will be recorded.
3
If I scroll in the same source file, each time I click the mouse, the plugin will check whether it is far form the last edit point, eg, if it is more than 10 lines, then, the last caret position will be recored in the backword stack.
That's the way I think browser track plugin should work. Because in the current, I always feel some annoying when I jump to some where and forget the return position. I don't think all the 4 "alt + arrow" were needed. I just think use two of them is enough, that is "Jump backward" and "Jump forward".
Thank you, I know you are the author of this great plugin.