Lines 279-289
Link Here
|
279 |
case SWT.TRAVERSE_RETURN : |
279 |
case SWT.TRAVERSE_RETURN : |
280 |
event.doit = false; |
280 |
event.doit = false; |
281 |
break; |
281 |
break; |
282 |
|
282 |
|
283 |
case SWT.TRAVERSE_ARROW_NEXT : |
|
|
284 |
case SWT.TRAVERSE_ARROW_PREVIOUS : |
285 |
case SWT.TRAVERSE_TAB_NEXT : |
283 |
case SWT.TRAVERSE_TAB_NEXT : |
286 |
case SWT.TRAVERSE_TAB_PREVIOUS : |
284 |
case SWT.TRAVERSE_TAB_PREVIOUS : |
|
|
285 |
// Check if modifiers other than just 'Shift' were down. |
286 |
if ((event.stateMask & (SWT.MODIFIER_MASK ^ SWT.SHIFT)) != 0) { |
287 |
// Modifiers other than shift were down. |
288 |
event.doit = false; |
289 |
break; |
290 |
} |
291 |
// fall through -- either no modifiers, or just shift. |
292 |
|
293 |
case SWT.TRAVERSE_ARROW_NEXT : |
294 |
case SWT.TRAVERSE_ARROW_PREVIOUS : |
287 |
default : |
295 |
default : |
288 |
// Let the traversal happen, but clear the incomplete stroke |
296 |
// Let the traversal happen, but clear the incomplete stroke |
289 |
setKeySequence(getKeySequence(), null); |
297 |
setKeySequence(getKeySequence(), null); |