Summary: | problem with semantic highlighting: operator[ std::string ] | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | OlafLostViking <olaf.the.lost.viking> |
Component: | Language Support: CPP (Clang-based) | Assignee: | kdevelop-bugs-null |
Status: | RESOLVED NOT A BUG | ||
Severity: | minor | CC: | kogiokkafrms, mail |
Priority: | NOR | ||
Version: | 5.0.2 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
OlafLostViking
2016-11-24 08:54:20 UTC
Not a bug; the [ is a use of std::unordered_map<std::string,std::string>::operator[std::string]. Move your mouse or cursor over it to see uses of the same operator or get further information. Closing as invalid. Thanks for having a look! While I agree that [ is the u_map::op[str], I am wondering why the second bracket is coloured differently (like a normal array ]) and not in the special colour of the first bracket [. Just to clarify what I meant (I simply don't understand the different colours) - not to insist that I'm right or whatever ;) Certainly a debatable choice, I guess the simple answer is that a single use always has a single range in KDevelop, and for this you'd need to associate two ranges to one use, i.e. technical reasons. *** Bug 419423 has been marked as a duplicate of this bug. *** |