Project: SWT
Bug 10532 DCR: Table.setSelection(int, int) -- order matters
Reported: 2002-02-28 16:48:21 | Status: resolved fixed

Build 20020226 In a call to Table.setSelection(int start, int end), it matters in which order the arguments are given. It assumes start <= end. It would be more resilient if it also allowed start >= end. If it doesn't allow this, the spec should indicate the ordering requirement.

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/List.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java