Project: SWT
Bug 231787 When computing bounds,TextLayout does not take trailing line break into account
Reported: 2008-05-13 08:14:45 | Status: resolved fixed

(1) Have a TextLayout and set its text to "abc<enter>" > call getBounds() (2) set the text to "abc" > call getBounds() > the result for (1) and (2) are the same. The trailing line break is not taken into account

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/TextLayout.java