Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 337789 - StyledText selection highlighting is incorrect.
Summary: StyledText selection highlighting is incorrect.
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.1   Edit
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-22 01:10 EST by Doug M CLA
Modified: 2012-06-27 17:22 EDT (History)
1 user (show)

See Also:


Attachments
Image of the problem, TIFF file. (75.17 KB, image/tiff)
2011-02-22 02:53 EST, Doug M CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Doug M CLA 2011-02-22 01:10:32 EST
Build Identifier: swt-3.7M5-cocoa-macosx-x86_64

When second line of wrapped paragraph is shorter than top line, selection highlighting right edge follows end of second line for following lines.

It should highlight the whole of each line.

Reproducible: Always

Steps to Reproduce:
1. Run Snippet163
2. Shrink window width until text wraps between "an" and "indentation".
3. Select from start and drag downward.
4. Observe that lines 3 to 6 are incorrectly highlighted (right end fails to highlight).
Comment 1 Doug M CLA 2011-02-22 02:53:56 EST
Created attachment 189460 [details]
Image of the problem, TIFF file.
Comment 2 Silenio Quarti CLA 2012-06-27 17:22:14 EDT
This works for me in latest 4.2 build.