Bug 114257

Summary: Javadoc comment formating of <pre> tags don't behave like code formating
Product: [Eclipse Project] JDT Reporter: Rodrigo Kumpera <kumpera>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: VERIFIED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 3.1.1   
Target Milestone: 3.2.2   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Rodrigo Kumpera CLA 2005-10-28 17:28:33 EDT
One assumption I've allways made was that formating the same text multiple times
would have the same result that formating only once. This works for code, but
not for <pre> tags.

Given the following compilation unit:

public class M {
    /**
     * <pre>
     * A
     * B
     * </pre>
     */
    void foo() {
    }
}

By using ctrl+shift+f, the lines "A" and "B" will shift to the right allways.
This make whole file formating an issue, as the identation of "A" and "B" will
grow every time the compilation unit is formated.
Comment 1 Tom Hofmann CLA 2005-10-31 04:21:15 EST

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

*** This bug has been marked as a duplicate of bug 99738 ***
Comment 4 Maxime Daniel CLA 2007-01-16 03:12:22 EST
Again... will get there...
Comment 5 Maxime Daniel CLA 2007-01-16 03:13:35 EST

*** This bug has been marked as a duplicate of bug 99738 ***
Comment 6 Maxime Daniel CLA 2007-01-16 03:14:08 EST
Verified for 3.2.2 using build M20070112-1200.
Comment 7 Eric Jodet CLA 2007-02-06 02:22:43 EST
Verified for 3.3 M5 using build I20070205-0009