if (a<b && b>c)
...
if (a<int>(5, 10)==5)
...
How about (for a start only):When we do brace matching, we don't know if a is template or not.
If 'a' is a template then:
But surely there must be a way to get this info from CC or get this info in other way?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.
And what's more the core can not rely on cc, because (as all plugins) the user might have disabled it.But surely there must be a way to get this info from CC or get this info in other way?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.
... We can't even give a precise information whether an identifier is a template or not...Does this mean that there are (a few) cases in which CC can guarantee that it has correctly determined if something is a template? If so, matching could be limited to those cases.
Does this mean that there are (a few) cases in which CC can guarantee that it has correctly determined if something is a template? If so, matching could be limited to those cases.That's certainly not a good idea. Either such a feature should work (to the implementor's ability) 100% or not at all. If it works 50% of the time, it is not only worthless, but actually hindering workflow. People will wonder 50% of the time whether they did something wrong when they didn't, just because a color coding they expect does not show.
From where this assurance comes from?Simple: After years you are the first asking for this feature and I don't see many people agree.
Because it is a waste of time to implement something which will not work 100% and will be useful to very few people.Thanks for the logic; I had lost sight of the big picture.
typename std::iterator_traits<typename std::remove_reference<C1>::type::iterator>::value_type();
It is very helpful to highlight template braces.Useful, yes, but very hard to implement. Do you have ideas of how this could be done?