Bug 51768 - [Code Formatter] Seems that the option to preserve blank lines in not working on MacOS
Summary: [Code Formatter] Seems that the option to preserve blank lines in not working...
Status: VERIFIED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: 3.0 M8   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-11 16:03 EST by Olivier Thomann CLA
Modified: 2004-02-24 08:58 EST (History)
0 users

See Also:


Attachments
Try to format on MacOS X (448 bytes, text/plain)
2004-02-11 16:03 EST, Olivier Thomann CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Thomann CLA 2004-02-11 16:03:10 EST
It seems that the blank lines inside method bodies are removed by the code
formatter even if the option "preserve emtpy lines" is set to 1 or more.
See the attached test case.
Comment 1 Olivier Thomann CLA 2004-02-11 16:03:35 EST
Created attachment 7806 [details]
Try to format on MacOS X
Comment 2 Olivier Thomann CLA 2004-02-11 16:26:50 EST
I worked for me on Windows. So it might be a Mac specific problem.
Comment 3 Olivier Thomann CLA 2004-02-17 11:51:25 EST
I have no problem to format that code on Mac OS X 10.2 using a plain M7
installation.
Closing as WORKSFORME.
Comment 4 Andre Weinand CLA 2004-02-24 08:58:21 EST
Verified in I20040219 on MacOS 10.3.2