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
}
		} else {
			String str= (String) fgEntityLookup.get(symbol);
			if (str != null) {
				return str;
			}
		}
		return "&" + symbol; 
	}
	
	/*
	 * A '&' has been read. Process a entity
	 */ 	
	private String processEntity() throws IOException {
		StringBuffer buf= new StringBuffer();
		int ch= nextChar();
		while (Character.isLetterOrDigit((char)ch) || ch == '#') {
			buf.append((char) ch);
			ch= nextChar();
		}
		
		if (ch == ';') 
			return entity2Text(buf.toString());
		
		buf.insert(0, '&');
		if (ch != -1)
			buf.append((char) ch);
		return buf.toString();
	}
}