Summary: | [formatter] Format regions does not format as expected | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Dani Megert <daniel_megert> | ||||
Component: | Core | Assignee: | Frederic Fusier <frederic_fusier> | ||||
Status: | VERIFIED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | CC: | Olivier_Thomann, rthakkar | ||||
Version: | 3.7 | ||||||
Target Milestone: | 3.7 M4 | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Dani Megert
2010-10-21 10:44:22 EDT
Created attachment 183937 [details]
Proposed patch
This was just a small glitch while adapting edits at region edges: when there's no spaces before the region and nothing to replace (i.e. all new lines before the region already matches those that the edit string contains), then the replacement string needed to be flushed...
Released for 3.7M4 in HEAD stream. Verified in N20101128-2000 and HEAD. |