Bug 154027

Summary: Unnecessary moving text in javadoc with <pre>...</pre> tags with [Source-Format] action
Product: [Eclipse Project] JDT Reporter: Alexey Kuznetsov <kuaw26>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: VERIFIED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 3.2   
Target Milestone: 3.2.2   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

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