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
* @param presentation If not <code>null</code>, formattings will be applied to 
	 * the presentation.
	*/
	public HTML2TextReader(Reader reader, TextPresentation presentation) {
		super(new PushbackReader(reader));
		fTextPresentation= presentation;
	}
	
	public int read() throws IOException {
		int c= super.read();
		if (c != -1)
			++ fCounter;
		return c;
	}
	
	protected void startBold() {
		if (fBold == 0)
			fStartOffset= fCounter;
		++ fBold;
	}
	
	protected void stopBold() {
		-- fBold;
		if (fBold == 0) {
			if (fTextPresentation != null) {
				fTextPresentation.addStyleRange(new StyleRange(fStartOffset, fCounter - fStartOffset, null, null, SWT.BOLD));
			}
			fStartOffset= -1;
		}
	}