EugeneManushkin / CtagsSourceNavigator

Reworked Ctags Source Navigator plugin based on source code v0.93 beta compatible with Far3
GNU General Public License v2.0
17 stars 0 forks source link

Failed to navigate to name selected in "Search name in entire repository" menu #36

Closed EugeneManushkin closed 6 years ago

EugeneManushkin commented 6 years ago

The following code is invalid:

static void NavigateTo(TagInfo const* info, bool setPanelDir = false) { ... char buf[512]; while(fgets(buf,sizeof(buf),f) && cnt<line)cnt++; ... line=0; fseek(f,0,SEEK_SET); while(fgets(buf,sizeof(buf),f)) { ...

What if a line before selected name contains more than 512 symbols?

EugeneManushkin commented 6 years ago

Fixed in build 2.1.0.33