Bug 66649 - javadoc formatter adds extra lines in <pre> block
Summary: javadoc formatter adds extra lines in <pre> block
Status: RESOLVED DUPLICATE of bug 52921
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 2000
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-11 07:53 EDT by Tim Ellison CLA
Modified: 2004-06-15 03:18 EDT (History)
0 users

See Also:


Attachments
Preferences file containing formatting options. (321.67 KB, text/plain)
2004-06-14 12:29 EDT, Tim Ellison CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Ellison CLA 2004-06-11 07:53:32 EDT
3.0RC01

The following JavaDoc comment:
/**
 * <pre>
 * one line
 * </pre>
 */

when formatted using the code formatter becomes:
/**
 * <pre>
 * 
 *  one line
 *  
 * </pre>
 */

and so on, gaining a new blank line each time it is formatted:

/**
 * <pre>
 * 
 *  
 *   one line
 *   
 *  
 * </pre>
 */
Comment 1 Tim Ellison CLA 2004-06-14 12:27:21 EDT
Still occurs on 3.0 RC2
I'll attach my preferences in case that helps.  This is causing problems in our 
product release since it is destroying the javadoc layout.
Comment 2 Tim Ellison CLA 2004-06-14 12:29:14 EDT
Created attachment 12043 [details]
Preferences file containing formatting options.
Comment 3 Dani Megert CLA 2004-06-15 03:18:52 EDT

*** This bug has been marked as a duplicate of 52921 ***