Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 327113

Summary: SWT 3.6 StyledText.addWordMovementListener() contain mistake
Product: [Eclipse Project] Platform Reporter: Alexander Lobas <lobas-av>
Component: SWTAssignee: Felipe Heidrich <eclipse.felipe>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: eclipse.felipe
Version: 4.0   
Target Milestone: 3.7 M3   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Alexander Lobas CLA 2010-10-06 10:40:21 EDT
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
Comment 1 Felipe Heidrich CLA 2010-10-12 16:26:09 EDT
Fixed in HEAD > 12102010

Thank you