Bug 106262

Summary: Javadoc: preformatted regions are indented with each auto-format
Product: [Eclipse Project] JDT Reporter: Daniel Farina <Dan.Farina>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: VERIFIED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 3.1   
Target Milestone: 3.2.2   
Hardware: PC   
OS: Windows Server 2003   
Whiteboard:

Description Daniel Farina CLA 2005-08-05 19:41:41 EDT
Create a file that contains javadoc that contains at least the following:
/**
 * <pre>
 * hello world
 * </pre>
 */

With each auto-format, "hello world" will be shifted one space to the right. 
Shown below is the result after an auto-format

 * <pre>
 *  hello world
 * </pre>

three autoformats later, we get:
 * <pre>
 *     hello world
 * </pre>

As you can imagine, this makes documents where preformatted examples or somesuch
are added over time look strange and requires painful manual re-(un)indenting.
Comment 1 Dani Megert CLA 2005-08-08 05:05:09 EDT

*** This bug has been marked as a duplicate of 99738 ***
Comment 2 Maxime Daniel CLA 2007-01-16 03:02:39 EST
Reopening to reassign.
Comment 3 Maxime Daniel CLA 2007-01-16 03:03:49 EST

*** This bug has been marked as a duplicate of bug 99738 ***
Comment 4 Maxime Daniel CLA 2007-01-16 03:04:42 EST
Verified for 3.2.2 using build M20070112-1200.
Comment 5 Eric Jodet CLA 2007-02-06 01:39:28 EST
Verified for 3.3 M5 using build I20070205-0009