SublimeText / CTags

CTags support for Sublime Text
MIT License
987 stars 167 forks source link

jump_back not working with 0.4.0 in ST3 3156 #331

Closed haferburg closed 6 years ago

haferburg commented 6 years ago

Let's say I have the following file

#include "something"             // line 1
struct CTagsPlease { int a; };   // line 2
void what_is_happening() {       // line 3
  CTagsPlease wat;               // line 4
  wat = super;                   // line 5
}                                // line 6

I click on super in line 5, I click on CTagsPlease in line 4, then I press F1 (CTags' Navigate To Definition), and I jump to CTagsPlease in line 2. When I press Alt+Left (bound to jump_back), or in the menu Goto->Jump Back, I land back on super in line 5. I would have expected to land on CTagsPlease in line 4.

haferburg commented 6 years ago

@stephenfin Hi there! I didn't see the PR https://github.com/SublimeText/CTags/pull/321. It seems to be working after I put that in. I think this can be closed as a duplicate.