Bug 194533

Summary: Pre tag causes incremental shifting
Product: [Eclipse Project] JDT Reporter: Damian <atagar1>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: RESOLVED DUPLICATE QA Contact:
Severity: minor    
Priority: P3    
Version: 3.2.1   
Target Milestone: 3.2.2   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Settings of my formatter when producing the bug. none

Description Damian CLA 2007-06-26 21:13:11 EDT
Anything beyond a single word within pre tags causes incremental spacing (each formatting adds a new space to the start). For instance, 
/**
 * <pre>
 * foo bar
 * um
 * </pre>
 */

becomes:
/**
 * <pre>
 *    foo bar
 *    um
 * </pre>
 */

after being formatted three times. This is a product of having the "Format Java code snippets" in the comments section of the formatting options set.
Comment 1 Damian CLA 2007-06-26 21:17:44 EDT
Created attachment 72551 [details]
Settings of my formatter when producing the bug.
Comment 2 Olivier Thomann CLA 2007-07-04 11:04:21 EDT

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