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

Bug 313787

Summary: Internal fixes for StyledText (getWordNext() and getWordPrevious())
Product: [Eclipse Project] Platform Reporter: Felipe Heidrich <eclipse.felipe>
Component: SWTAssignee: Felipe Heidrich <eclipse.felipe>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: carolynmacleod4, Silenio_Quarti
Version: 4.0Flags: Silenio_Quarti: review+
carolynmacleod4: review+
Target Milestone: 3.6 RC2   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
patch none

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