Developer forums (C::B DEVELOPMENT STRICTLY!) > CodeCompletion redesign
New code completion remarks/issues
blueshake:
the same to variable event
blueshake:
hello,did anyboby notice that codecompletion bar that miss some function in codecompletion.cpp.
see my snap3 .I can confirm that it work at rev 5731 see the snap4 .
it seems that the codecompletion's member function were not included in this situation.what is going on ?
[attachment deleted by admin]
MortenMacFly:
--- Quote from: blueshake on September 23, 2009, 03:55:39 pm ---I can confirm that it work at rev 5731 see the snap4 .
--- End quote ---
I noticed the same (I told you and Jens...), but this info (the revision) is not really helpful as it is before the merge.
I wonder if it was working in your own test branch before the merge. Because that would be easier to compare.
blueshake:
yes,I remember it worked in my local copy(I just modify the codecompletion.cpp file),but unluckly,my old machine is down ,I lost everything. :(
blueshake:
hello,Morten
good news: :D
the issue killerbot report can be solved by this patch.
bad news:
can not make a clear explaination here.
--- Code: ---Index: src/plugins/codecompletion/parser/parserthread.cpp
===================================================================
--- src/plugins/codecompletion/parser/parserthread.cpp (revision 5816)
+++ src/plugins/codecompletion/parser/parserthread.cpp (working copy)
@@ -1051,7 +1051,11 @@
if (ns == ParserConsts::opbrace)
{
// parse inside anonymous namespace
+ Token* lastParent = m_pLastParent;
+ TokenScope lastScope = m_LastScope;
DoParse();
+ m_pLastParent = lastParent;
+ m_LastScope = lastScope;
}
else
{
--- End code ---
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version