Summary: | [formatter] Unexpected indentation of wrapped line comments when 'Never indent line comment on first column' preference is checked | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Frederic Fusier <frederic_fusier> | ||||
Component: | Core | Assignee: | Frederic Fusier <frederic_fusier> | ||||
Status: | VERIFIED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | CC: | Olivier_Thomann | ||||
Version: | 3.6 | ||||||
Target Milestone: | 3.6 M6 | ||||||
Hardware: | PC | ||||||
OS: | Windows XP | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Frederic Fusier
2010-03-04 12:13:52 EST
Note that this is not a regression introduced by the fix for bug 251133 as I get the same behavior in 3.6M5... In fact this is a regression introduced while re-writing the formatter for comments... It worked properly in 3.3.2 but was broken in 3.4.0.. Created attachment 160980 [details]
Proposed patch
Fix is trivial, just do not indent while wrapping the comment line if the preference is set...
(In reply to comment #3) > Created an attachment (id=160980) [details] > Proposed patch > Released for 3.6M6 in HEAD stream. Verified for 3.6M6 using I20100307-2000. |