News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Problem with code completion and <list.h>

Started by Kashrlyyk, October 18, 2009, 06:14:11 AM

Previous topic - Next topic

Kashrlyyk

Whenever I include <list.h> in a project, code completion will from that point onwards only return:
"Too many results. Please edit the ......."

Even if I increase the results limit to 1048576.
Even if I write "floa" which should have only 4 or 5 results.

ollydbg

Quote from: Kashrlyyk on October 18, 2009, 06:14:11 AM
Whenever I include <list.h> in a project, code completion will from that point onwards only return:
"Too many results. Please edit the ......."

Even if I increase the results limit to 1048576.
Even if I write "floa" which should have only 4 or 5 results.
C::B version? please give a simple test code.
works here.(windows XP SVN)
See the screen shot.




[attachment deleted by admin]
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

blueshake

as I know ,non-English chars will cause this issue.
Keep low and hear the sadness of little dog.
I fall in love with a girl,but I don't dare to tell her.What should I do?

oBFusCATed

Why do you include <list.h> instead of <list> ?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Kashrlyyk

Quote from: ollydbg on October 18, 2009, 06:39:52 AM
Quote from: Kashrlyyk on October 18, 2009, 06:14:11 AM
Whenever I include <list.h> in a project, code completion will from that point onwards only return:
"Too many results. Please edit the ......."

Even if I increase the results limit to 1048576.
Even if I write "floa" which should have only 4 or 5 results.
C::B version? please give a simple test code.
works here.(windows XP SVN)
See the screen shot.




I tried to make a test code, but I failed because now everything works and I don't know why. Even reducing the results limit back to the default value doesn't cause problems.

zabzonk

My experience with code completion is that saving everything, shutting down CB, and then re-starting it again will normally make things start working again. I need to do this quite frequently :-( This is on Win2K usinfg SVN 5858 (but same problem with all other builds I've tried).