Bug 165837

Summary: Inappropriate auto closing of angle brackets
Product: [Tools] CDT Reporter: Sergey Prigogin <eclipse.sprigogin>
Component: cdt-coreAssignee: Anton Leherbauer <aleherb+eclipse>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 Keywords: contributed
Version: 4.0   
Target Milestone: 4.0 M5   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Bug fix. bjorn.freeman-benson: iplog+

Description Sergey Prigogin CLA 2006-11-24 20:12:23 EST
Angle brackets get closed automatically is some cases when it's not appropriate. To reproduce the problem, position the cursor at the end of line "aaa" and press <.

static void f() {
    sout <<
	    "aaa" 
}

The closing angle bracket gets inserted, which is undesirable.
Comment 1 Sergey Prigogin CLA 2006-11-24 20:14:17 EST
Created attachment 54513 [details]
Bug fix.
Comment 2 Anton Leherbauer CLA 2006-11-27 04:00:41 EST
Patch committed to HEAD together with a junit test.
Available in builds > 20061127.
Thanks, Sergey.