Bug 232685

Summary: ScrollBar works incorrectly with StyledText
Product: [Eclipse Project] Platform Reporter: Mikhail Kalugin <mikhail.kalugin>
Component: SWTAssignee: Kevin Barnes <cocoakevin>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: gheorghe
Version: 3.4Keywords: contributed
Target Milestone: 3.5   
Hardware: PC   
OS: Mac OS X   
Whiteboard:
Attachments:
Description Flags
Fix for ScrollBar (setValues() and setEnabled() implementations) Silenio_Quarti: iplog+

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