Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Matching template brackets
MortenMacFly:
--- Quote from: smallB on October 24, 2011, 12:41:05 pm ---But surely there must be a way to get this info from CC or get this info in other way?
--- End quote ---
Plugins are generally independent. This means, a plugin must provide an interface to the core to obtain data from it. For brackets / CC internals (i.e. the SearchTree) this is not the case.
Jenna:
--- Quote from: MortenMacFly on October 24, 2011, 04:27:14 pm ---
--- Quote from: smallB on October 24, 2011, 12:41:05 pm ---But surely there must be a way to get this info from CC or get this info in other way?
--- End quote ---
Plugins are generally independent. This means, a plugin must provide an interface to the core to obtain data from it. For brackets / CC internals (i.e. the SearchTree) this is not the case.
--- End quote ---
And what's more the core can not rely on cc, because (as all plugins) the user might have disabled it.
Alpha:
As a suggestion, would it be possible for the core to query CC (to determine if it is active, and a supported version); then using the result, enable/disable the function to match < >?
In this way the core could take advantage of the existence of CC, with a fallback to its original state (so the core does not become dependent).
oBFusCATed:
It can probably, but someone should do it.
ollydbg:
Our parser does not do the semantic analysis, and the C++'s grammar it too complex and context depend, so We can't even give a precise information whether an identifier is a template or not, and it is much depend on the context. (by context, I mean the #include, using directive, #if ....., all the things can change the context information)
So, it is too hard to implement this kind of feature.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version