Community
Participate
Working Groups
Build Identifier: I20100805-1700 ; CDT 8 In the expression: list<list<int>> a; When putting the cursor on the '>' which is adjacent to the 'int' then the matching '<' is marked. However, when putting the cursor on one of the other '>' (the one closer to "a") then the matching '<' isn't marked. Reproducible: Always Steps to Reproduce: 1. Write: list<list<int>> a; 2. Put the cursor on the second '>' 3. Nothing is marked
(In reply to comment #0) > list<list<int>> a; This syntax is only valid with C++0x. Inserting a space between the closing angle brackets makes the bracket matcher work.
Improved heuristics in HEAD.
*** cdt cvs genie on behalf of aleherbau *** Bug 335702 - [c++0x] Template brackets matching doesn't work with adjacent closing angle brackets [*] CPairMatcher.java 1.13 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt-core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/CPairMatcher.java?root=Tools_Project&r1=1.12&r2=1.13 [*] PairMatcherTest.java 1.3 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt-core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/PairMatcherTest.java?root=Tools_Project&r1=1.2&r2=1.3