Bug 114257 - Javadoc comment formating of <pre> tags don't behave like code formating
Summary: Javadoc comment formating of <pre> tags don't behave like code formating
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-10-28 17:28 EDT by Rodrigo Kumpera CLA
Modified: 2007-02-06 02:22 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 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