Bug 142490 StyledText embedded controls can appear incorrectly
3.2RC4 In snippet 217 change the Shell's size from 400x400 to 300x300, and note that the embedded Controls initially display at 0,0 in addition to their correct positions within the document.
examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet217.java
Control control = (Control)style.data;
						if (control != null) control.dispose();
					}
					index = text.indexOf('\uFFFC', index + 1);
				}
			}
		});
		
		
		styledText.addPaintObjectListener(new PaintObjectListener() {
			public void paintObject(PaintObjectEvent event) {
				Control control = (Control)event.style.data;
				Point pt = control.getSize();
				int x = event.x + MARGIN;
				int y = event.y + event.ascent - 2*pt.y/3;
				control.setLocation(x, y);
			}
		});
			
		shell.setSize(400, 400);
		shell.open();
		while (!shell.isDisposed()) {
			if (!display.readAndDispatch())
				display.sleep();
		}
		font.dispose();
		display.dispose();
	}
}