Sublime Forum

jump_prev jumps too far

#1

I use jump_prev in conjuction with the Ctags plugin.
Typical use case:

  • Jump to definition1
  • Jump to definition2
  • jump_prev (brings me back to definition1)
  • jump_prev (brings me back to the original location)
    Often, but not always, jump_prev will jump back to the original location when I’m in definition2 like it didn’t record the location of definition1 when I jumped to definition2.
    How does Sublimetext decide where it puts it’s markers down when I navigate a file?
    How can I go about debugging this?
    My build is 3124 although this problem has been ongoing through multiple upgrades.
    Platform OSX 10.11.6
0 Likes

#3

I modified the Ctags package to call get_jump_history_for_view(view).push_selection(view) just like history_list.py does.
Works great.

1 Like