Project: SWT
Bug 327113 SWT 3.6 StyledText.addWordMovementListener() contain mistake
Reported: 2010-10-06 10:40:21 | Status: resolved fixed

Build Identifier: M20090211-1700 public void addWordMovementListener(MovementListener movementListener) { ........checkWidget(); ........if (listener == null) SWT.error(SWT.ERROR_NULL_ARGUMENT); ............^^^^^^^^ --------- this is mistake, correct version: movementListener ........addListener(WordNext, new StyledTextListener(movementListener)); ........addListener(WordPrevious, new StyledTextListener(movementListener)); } Reproducible: Always

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