Developer forums (C::B DEVELOPMENT STRICTLY!) > CodeCompletion redesign
[bug?] handling blanks in a line?
MoonKid:
Sometimes I wrote a line/call with blanks in it because it is more readable.
This line
--- Code: ---pSourceCtrl_->SetValue(rTask_.GetSource());
--- End code ---
would be written like this
--- Code: ---pSourceCtrl_ ->SetValue(rTask_.GetSource());
--- End code ---
Understand the difference?
I write this part "pSourceCtrl_ ->SetV". After the 'V' the code completition runs.
In the first case everything is right!
In the second case the code completition freeze the hole C::B for some seconds and then show nothing to choice.
Maybe code completition does not like my blanks before the ->?
David Perfors:
Does the compiler like your blanks??? I didn't know that...
as far as I know, Code Completion only works with whole words (from blank to blank) Perhaps this could be changed some day....
MoonKid:
--- Quote from: mispunt on June 08, 2006, 06:18:56 pm ---Does the compiler like your blanks???
--- End quote ---
No compiler like blanks. But each preprocesser kill blanks. I think it is a part of each compiler. ;)
Of course my blanks make no problmes! Why should they?
I code like this since a lot of years.
--- Quote ---as far as I know, Code Completion only works with whole words (from blank to blank) Perhaps this could be changed some day....
--- End quote ---
Because I am not able to build C::B I will submit a bug-report.
TDragon:
--- Quote from: MoonKid on June 08, 2006, 06:22:47 pm ---Because I am not able to build C::B I will submit a bug-report.
--- End quote ---
You can do so, but it probably won't do any good. As the title of this forum indicates, the Code Completion is undergoing (or will be) redesign, which makes any bug reports on the current version mostly meaningless. (Unless a dev decides the fix is simple enough to be made to the current version.)
MoonKid:
--- Quote from: TDragon on June 08, 2006, 07:33:51 pm ---(Unless a dev decides the fix is simple enough to be made to the current version.)
--- End quote ---
I am using the nightlies. The bugreport is just for the current SVN version. There is no official C::B release. There are only release candidates. I thougt they are inofficial, too and all bug-reports affect the current SVN version?
Navigation
[0] Message Index
[#] Next page
Go to full version