Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 354172

Summary: Matching template brackets are not highlighted
Product: [Tools] CDT Reporter: Gil Barash <scobido1984>
Component: cdt-editorAssignee: Project Inbox <cdt-editor-inbox>
Status: NEW --- QA Contact: Jonah Graham <jonah>
Severity: normal    
Priority: P3 CC: cdtdoug, yevshif
Version: 8.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Gil Barash CLA 2011-08-08 13:32:00 EDT
In the code:

#include "list"
std::list<int> a;

when putting the cursor anywhere around the angular brackets nothing is highlighted.

This is a regression bug since I know that in CDT 7.0 this feature worked well.
Comment 1 Anton Leherbauer CLA 2011-08-09 03:39:29 EDT
(In reply to comment #0)
> This is a regression bug since I know that in CDT 7.0 this feature worked well.

I just tried with Helios (CDT 7.0), but nothing is highlighted, so it does not look like a regression.

The problem is that we use heuristics to differentiate between angle brackets and comparison operators.  Those heuristics are not perfect, leading to false results like in this example.