Author Topic: symbol browser update  (Read 6489 times)

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
symbol browser update
« on: August 31, 2006, 11:18:38 am »
thanks for
* putting the symbol browser back to a manager tab
* the "codecompletion" toolbar  ( should it not be named ClassBrowser-Toolbar ? )

one small bug which i discovered in CB rev 2925

if you have set the Symbol-Browser to "Current file's symbols"
and you close the current file-tab, then the symbol-browser-tree isn't updated
to the contents of the currently viewing file (this is annoying)

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: symbol browser update
« Reply #1 on: August 31, 2006, 12:24:38 pm »
( should it not be named ClassBrowser-Toolbar ? )

Unfortunately, the name is currently auto-generated using the plugin's name.

one small bug which i discovered in CB rev 2925

if you have set the Symbol-Browser to "Current file's symbols"
and you close the current file-tab, then the symbol-browser-tree isn't updated
to the contents of the currently viewing file (this is annoying)

Two things to mention regarding this:
1) the issue has to do with SDK events not fired for editor change, unless you click on the editor's tab. Even Ctrl-Tab doesn't fire this event. I have it noticed and will fix it (which will fix this issue too).
2) the current filtering for "current-file-scope" is sub-optimal. Works, but causes a slow down when changing editors or refreshing the symbols browser. This will be improved in future revisions.
Be patient!
This bug will be fixed soon...

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: symbol browser update
« Reply #2 on: August 31, 2006, 12:35:07 pm »
Two things to mention regarding this:
1) the issue has to do with SDK events not fired for editor change, unless you click on the editor's tab. Even Ctrl-Tab doesn't fire this event. I have it noticed and will fix it (which will fix this issue too).
OK i understand

2) the current filtering for "current-file-scope" is sub-optimal. Works, but causes a slow down when changing editors or refreshing the symbols browser. This will be improved in future revisions.
maybe a lot of wasted time comes from the unfrozen treeview control during update ?

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: symbol browser update
« Reply #3 on: August 31, 2006, 12:45:05 pm »
Quote
maybe a lot of wasted time comes from the unfrozen treeview control during update ?

No, no, it's not that. I know what it is and I even have a TODO in the code for it.
And since this is the last TODO left, it's next on the list ;).
Be patient!
This bug will be fixed soon...

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: symbol browser update
« Reply #4 on: August 31, 2006, 01:13:02 pm »
And since this is the last TODO left, it's next on the list ;).

And there it goes ;).
Be patient!
This bug will be fixed soon...