Developer forums (C::B DEVELOPMENT STRICTLY!) > CodeCompletion redesign

New code completion remarks/issues

<< < (24/54) > >>

mmkider:

--- Quote from: blueshake on October 05, 2009, 02:14:16 pm ---Work here,too.see the attachment.

Sorry to say that,but tktypedef don't work again.ollydbg is right,something is wrong with codes below,if I comment them,worked.!!!!!!!!


--- Code: ---        if (token->m_TokenKind == tkTypedef)
        {
            std::queue<ParserComponent> type_components;
            BreakUpComponents(parser, token->m_ActualType, type_components);

            while(!components.empty())
            {
                ParserComponent comp = components.front();
                components.pop();
                type_components.push(comp);
            }

    #if DEBUG_CC_AI
            if (s_DebugSmartSense)
            #if wxCHECK_VERSION(2, 9, 0)
                Manager::Get()->GetLogManager()->DebugLog(F(_T("Replacing %s to %s"), token->m_Name.wx_str(), token->m_ActualType.wx_str()));
            #else
                Manager::Get()->GetLogManager()->DebugLog(F(_T("Replacing %s to %s"), token->m_Name.c_str(), token->m_ActualType.c_str()));
            #endif
    #endif
            return FindAIMatches(parser, type_components, result, parentTokenIdx, noPartialMatch, caseSensitive, use_inheritance, kindMask, search_scope);
        }

    }



--- End code ---

--- End quote ---

I update src of codeblocks to SVN 5840.
It work well.

Thank all.

MortenMacFly:

--- Quote from: blueshake on October 05, 2009, 02:14:16 pm ---Sorry to say that,but tktypedef don't work again.ollydbg is right,something is wrong with codes below,if I comment them,worked.!!!!!!!!

--- End quote ---
What does not work exactly? My test cases all work very well...?! Are you using latest SVN code?

mmkider:

--- Quote from: MortenMacFly on October 05, 2009, 02:54:07 pm ---
--- Quote from: blueshake on October 05, 2009, 02:14:16 pm ---Sorry to say that,but tktypedef don't work again.ollydbg is right,something is wrong with codes below,if I comment them,worked.!!!!!!!!

--- End quote ---
What does not work exactly? My test cases all work very well...?! Are you using latest SVN code?

--- End quote ---

I can't  update all easily.
Because I remain wxflatnotebook in the src of codeblocks.
So I use other folder to update new src of codeblocks  and trandsfer some codes  of  my interest to my old folder.
I thank I do some wrong  thing between the new folder and the old folder :(.

ollydbg:

--- Quote from: MortenMacFly on October 05, 2009, 02:54:07 pm ---
--- Quote from: blueshake on October 05, 2009, 02:14:16 pm ---Sorry to say that,but tktypedef don't work again.ollydbg is right,something is wrong with codes below,if I comment them,worked.!!!!!!!!

--- End quote ---
What does not work exactly? My test cases all work very well...?! Are you using latest SVN code?

--- End quote ---

@Morten

blueshake's test code in this post:
http://forums.codeblocks.org/index.php/topic,11187.msg76788.html#msg76788

failed when entering "wwww", there is a flash of the suggestion list.

Jenna:

--- Quote from: ollydbg on October 05, 2009, 03:17:31 pm ---failed when entering "wwww", there is a flash of the suggestion list.

--- End quote ---

CC works for me in this case on linux, but not on windows (immediately close of suggestion window -> flash), but CC believes wwwwwwwww is a class, that's most likely because of the tktypedef-stuff.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version