Bug 154027 - Unnecessary moving text in javadoc with <pre>...</pre> tags with [Source-Format] action
Summary: Unnecessary moving text in javadoc with <pre>...</pre> tags with [Source-Form...
Status: VERIFIED DUPLICATE of bug 99738
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 3.2.2   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-16 04:22 EDT by Alexey Kuznetsov CLA
Modified: 2007-02-06 02:28 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 Alexey Kuznetsov CLA 2006-08-16 04:22:07 EDT
Create any java class
Than write such javadoc for this class (just for example):
---------------------------------
package sudocu;

import java.util.*;

/**
 * <pre>
 *   123
 *   356
 * </pre>
 */
public class S
{
 static char[] A;
.....
--------------------

Than press several times Ctrl+Shif+F = [Source-Format]
And you will see that lines between <pre> and </pre> are moving one char right every time
Comment 1 Dani Megert CLA 2006-08-16 05:04:42 EDT

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