Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: cmiao on November 04, 2008, 04:46:13 am

Title: Seach symbols tree
Post by: cmiao on November 04, 2008, 04:46:13 am
Under the symbols tree browser, there is a search item.
But clicking on it, there appears a bubble: "searching symbols tree
is currently disabled?"
How to enable this function? I am using Ubuntu linux,
I guess I need install some package for it. But neither google
nor searching the forum leads me to some solution.
Really appreciate it if it works.
Title: Re: Seach symbols tree
Post by: sputnik_b on November 05, 2008, 01:23:54 am
Yep, same problem here.
This is a valuable feature, would be great to take advantage of it.
Title: Re: Seach symbols tree
Post by: Jenna on November 05, 2008, 08:08:43 am
Which version of C::B do you use ?

As far as I know, the search was not implemented before svn r5028.
That means if you use C::B 8.02 it can not work.

EDIT:
Does not work for me on windows anyway.
The ComboBox seems not to generate the correct events. I'm working on it and will commit a fix later if possible.
Now I have to do something to earn my money.
Title: Re: Seach symbols tree
Post by: mandrav on November 05, 2008, 10:46:46 am
As far as I know, the search was not implemented before svn r5028.
That means if you use C::B 8.02 it can not work.

EDIT:
Does not work for me on windows anyway.

That's right. I too noticed that it doesn't work on windows (event not generated).
Title: Re: Seach symbols tree
Post by: Jenna on November 09, 2008, 03:34:10 pm
As far as I know, the search was not implemented before svn r5028.
That means if you use C::B 8.02 it can not work.

EDIT:
Does not work for me on windows anyway.

That's right. I too noticed that it doesn't work on windows (event not generated).

Thanks for fixing it.

I also tried to add wxTE_PROCESS_ENTER to the stylelist, but did it inside the xrc-file. And stumbled over a bug in wxSmith (wxTE_PROCESS_ENTER missing from the list of known styles) that was easy to fix and after some research I also found a bug in wxWidgets (the style is documented, but the xml-resource loader ignores it for wxComboBox).

A bugreport for this bug exists, but was closed 10 months ago. But the fix never made it from trunk to branch2.8.
After reopening the bugreport it was fixed in less than one hour   :D .

So this bug will hopefully be fixed in the next release of wx2.8 (and following versions).