Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 327113 - SWT 3.6 StyledText.addWordMovementListener() contain mistake
Summary: SWT 3.6 StyledText.addWordMovementListener() contain mistake
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.7 M3   Edit
Assignee: Felipe Heidrich CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-06 10:40 EDT by Alexander Lobas CLA
Modified: 2011-01-07 11:51 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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