SkidanovAlex / CtrlK

MIT License
17 stars 1 forks source link

Scope is not displayed in the status bar for header files #29

Open SkidanovAlex opened 10 years ago

SkidanovAlex commented 10 years ago

In ParseCurrentFile if current file is a header file, then tu.cursor points to some random source file that includes that header file. GetCursorForFile should traverse it down to find the cursor for the header file itself. For now it returns None if tu.cursor doesn't correspond to the file we are parsing.