Bug 165837 - Inappropriate auto closing of angle brackets
Summary: Inappropriate auto closing of angle brackets
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-core (show other bugs)
Version: 4.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 4.0 M5   Edit
Assignee: Anton Leherbauer CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2006-11-24 20:12 EST by Sergey Prigogin CLA
Modified: 2009-01-09 15:03 EST (History)
0 users

See Also:


Attachments
Bug fix. (4.61 KB, patch)
2006-11-24 20:14 EST, Sergey Prigogin CLA
bjorn.freeman-benson: iplog+
Details | Diff

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