News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

code completion tool bar bug

Started by jarro_2783, November 04, 2007, 11:15:09 AM

Previous topic - Next topic

jarro_2783

When I have more than one file open, and I close one which isn't the active one using the mouse button middle click, all the functions are removed from the code completion drop down box. I can reproduce this 100% of the time.

The function names come back when I switch to another source file and back again.

I'm using svn revision 4580, wx 2.8.4 with fedora 7.


jarro_2783

#2
awesomeness.

I love the fact that bugs are fixed so quickly. You wouldn't see that with proprietary software.

edit: I updated and it's not fixed. Just to make sure I've got the right version, it's 4596.

Ceniza


pauliusz

Quote from: jarro_2783 on November 05, 2007, 08:57:45 AM
edit: I updated and it's not fixed. Just to make sure I've got the right version, it's 4596.

It will be fixed in next nightlies.

thomas

I never use that feature, and have it turned off at all times too... but... after reading this post and looking at both original and patched code, I am confused as to what is the purpose and the correct (expected) behaviour of that list?

Before, it was clearing the list every time some editor (no matter which) was closed. Now it clears the list when the last open editor is closed. If any editor (even if containing a file that belongs to a different project or no project at all) is open, it is not cleared.

Before the patch, it would clear the list at inappropriate times, which is not good. After the patch it (almost) never clears that list. That is somewhat better than having an empty list 80% of the time, but it is what is wanted? I imagine people want to see exactly the functions which are in the files they have open, not any other files. Is that correct?
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

killerbot

the toolbar should show the methods of the *active* editor. When you switch to another editor ==> it updates. When you save the active editor ==> it updates : methods can have been added or removed or have grown or shrinked.

jarro_2783

It looks fine to me. It's showing the functions in the active file all the time as far as I can tell.