Bug 232685 - ScrollBar works incorrectly with StyledText
Summary: ScrollBar works incorrectly with StyledText
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.4   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: 3.5   Edit
Assignee: Kevin Barnes CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2008-05-18 03:17 EDT by Mikhail Kalugin CLA
Modified: 2009-06-01 14:34 EDT (History)
1 user (show)

See Also:


Attachments
Fix for ScrollBar (setValues() and setEnabled() implementations) (1.40 KB, patch)
2008-05-18 03:17 EDT, Mikhail Kalugin CLA
Silenio_Quarti: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail Kalugin CLA 2008-05-18 03:17:26 EDT
Created attachment 100806 [details]
Fix for ScrollBar (setValues() and setEnabled() implementations)

Being used with StyledText ScrollBar flashes on every typed char. Also if the document has smaller size than StyledText's height the vertical scroll bar is not disabled. 

The attached patch provides a fix (the problem was in incorrect implementation of ScrollBat.setValues() and commented out contents of setEnabled()).
Comment 1 Kevin Barnes CLA 2008-06-02 14:32:21 EDT
fixed > 20080602