Project: SWT
Bug 275900 Multi-line Text.setSelection(int) needs to reveal the selection
Reported: 2009-05-12 11:54:26 | Status: resolved fixed

Build id: I20090511-2000 on Cocoa Run Snippet11, which creates a multi-line text, appends a bunch of lines, and then calls setSelection(30). On other platforms, the Text is scrolled to show the new selection. On Cocoa, the Text remains scrolled to the end, where it was after appending the lines.

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Text.java