Bug 106262 - Javadoc: preformatted regions are indented with each auto-format
Summary: Javadoc: preformatted regions are indented with each auto-format
Status: VERIFIED DUPLICATE of bug 99738
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows Server 2003
: P3 normal (vote)
Target Milestone: 3.2.2   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-05 19:41 EDT by Daniel Farina CLA
Modified: 2007-02-06 01:39 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 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