Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 313787 - Internal fixes for StyledText (getWordNext() and getWordPrevious())
Summary: Internal fixes for StyledText (getWordNext() and getWordPrevious())
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.6 RC2   Edit
Assignee: Felipe Heidrich CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-20 14:04 EDT by Felipe Heidrich CLA
Modified: 2010-05-20 15:45 EDT (History)
2 users (show)

See Also:
Silenio_Quarti: review+
carolynmacleod4: review+


Attachments
patch (1.46 KB, patch)
2010-05-20 14:04 EDT, Felipe Heidrich CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Felipe Heidrich CLA 2010-05-20 14:04:18 EDT
Created attachment 169391 [details]
patch

StyledText has two helping methods to return the next or previous word stop given a offset.
We need to make sure these methods work fine when the given offset is at or in the middle of line delimiter. Although theses cases do not happen in StyledText directly they do happen for accessibility.

Please test patch in win32/gtk and cocoa if possible.
Comment 1 Felipe Heidrich CLA 2010-05-20 15:45:26 EDT
Fixed in HEAD > 20100520