Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 354172 - Matching template brackets are not highlighted
Summary: Matching template brackets are not highlighted
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-editor (show other bugs)
Version: 8.0   Edit
Hardware: PC Windows XP
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-08 13:32 EDT by Gil Barash CLA
Modified: 2020-09-04 15:23 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.