Bug 78002

Summary: formatting java code in comments doesnt work
Product: [Eclipse Project] JDT Reporter: Hansgeorg Schwibbe <hansgeorg.schwibbe>
Component: TextAssignee: JDT-Text-Inbox <jdt-text-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 3.0.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Hansgeorg Schwibbe CLA 2004-11-05 17:34:04 EST
Activate all code format options for comments and try to auto format this
example more than one time:

/**
 * <pre>
 * System.out.println(quot;1&quot;);
 * </pre>
 */

After the first auto format it looks like:
/**
 * <pre>
 * 
 *  System.out.println(quot;1&quot;);
 *  
 * </pre>
 */

After the second auto format it looks like:
/**
 * <pre>
 * 
 *  
 *   System.out.println(quot;1&quot;);
 *   
 *  
 * </pre>
 */

And after the 10. auto format it looks like:
/**
 * <pre>
 * 
 *  
 *   
 *    
 *     
 *      
 *       
 *        
 *         
 *          
 *           System.out.println(quot;1&quot;);
 *           
 *          
 *         
 *        
 *       
 *      
 *     
 *    
 *   
 *  
 * </pre>
 */
Comment 1 Dani Megert CLA 2004-11-08 06:07:41 EST

*** This bug has been marked as a duplicate of 52921 ***