Bug 122147 - [Text] GraphicalTextViewer needs API to show SelectionRange
Summary: [Text] GraphicalTextViewer needs API to show SelectionRange
Status: NEW
Alias: None
Product: GEF
Classification: Tools
Component: GEF-Legacy GEF (MVC) (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: gef-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-27 12:04 EST by Pratik Shah CLA
Modified: 2016-12-14 11:19 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pratik Shah CLA 2005-12-27 12:04:25 EST
Currently, GraphicalTextViewer has the revealCaret() method.  It should be updated to take two rectangles, one the size of the caret, and the other being the rectangle representing the SelectionRange.  The viewer should then expose both, or the caret and as much of the selection range as possible if both are not feasible.