Bug 116443 - Invalid formatting of javadoc with <pre> tag
Summary: Invalid formatting of javadoc with <pre> tag
Status: VERIFIED DUPLICATE of bug 99738
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.2.2   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-15 10:26 EST by Dmitry Shport CLA
Modified: 2007-02-06 02:25 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Shport CLA 2005-11-15 10:26:30 EST
This problem is both in Eclipse 3.0 and 3.1 versions.
If there is a <pre> tag in javadoc comment (method or type) formatter inserts 
new spaces/indent on each invocation.
This happens if the line (within <pre>) tag contains more than 1 word.

1st invocation:
/**
 * <pre>
 * One Two 
 * </pre>
 */

2nd invocation:
/**
 * <pre>
 *  One Two 
 * </pre>
 */

3rd invocation:
/**
 * <pre>
 *   One Two 
 * </pre>
 */
Comment 1 Olivier Thomann CLA 2005-11-15 10:30:32 EST

*** This bug has been marked as a duplicate of 99738 ***
Comment 2 Maxime Daniel CLA 2007-01-15 23:58:41 EST
Verified for 3.2.2 using build M20070112-1200.
Comment 3 Eric Jodet CLA 2007-02-06 02:25:04 EST
Verified for 3.3 M5 using build I20070205-0009