Bug 20475 Quick fix proposal preview: Bold off by 2 characters
F3 create file class A extends Object1 { } -> Object1 is marked as temporary error, Quick Fix. Select 'Change to Object', look at the preview: The preview shows changes in bold: It is off by 2 charaters: 'ject {' is bold, should be 'Object'. From debugging I see that the resulting html is correct, bug must be in rendering. Look stupid, should be fixed.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/HTML2TextReader.java
static {
		
		fgTags= new HashSet();
		fgTags.add("b"); 
		fgTags.add("br"); 
		fgTags.add("h5"); 
		fgTags.add("p"); 
		fgTags.add("dl"); 
		fgTags.add("dt"); 
		fgTags.add("dd"); 
		fgTags.add("li"); 
		fgTags.add("ul"); 
		
		fgEntityLookup= new HashMap(7);
		fgEntityLookup.put("lt", "<"); 
		fgEntityLookup.put("gt", ">"); 
		fgEntityLookup.put("nbsp", " "); 
		fgEntityLookup.put("amp", "&"); 
		fgEntityLookup.put("circ", "^"); 
		fgEntityLookup.put("tilde", "~"); 
		fgEntityLookup.put("quot", "\"");		 
	}
	
	private int fCounter= 0;
	private TextPresentation fTextPresentation;
	private int fBold= 0;
	private int fStartOffset= -1;
	/**
	 * Transforms the html text from the reader to formatted text.