Project: SWT
Bug 26008 [StyledText] setTopPixel limits argument to logical line count
Reported: 2002-11-11 18:29:48 | Status: resolved fixed

build 20021111 setTopPixel uses the logical line count to limit the maximum range of the method argument. When StyledText is used in word wrap mode and the number of visual lines is greater than the number of logical lines (lines are wrapped) setTopPixel will not allow scrolling to the last possible top line.

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java