Bug 103630 - Add API: Combo#getCaretPosition()
Summary: Add API: Combo#getCaretPosition()
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 enhancement with 1 vote (vote)
Target Milestone: 3.8 M3   Edit
Assignee: Felipe Heidrich CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 64665 360446
  Show dependency tree
 
Reported: 2005-07-13 05:39 EDT by Markus Keller CLA
Modified: 2011-10-21 16:10 EDT (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 Markus Keller CLA 2005-07-13 05:39:56 EDT
I20050627-1435 (3.1)

To implement CamelCase word navigation in fields (bug 64665), we need new API on
Combo to get the current caret position.

To be in line with the Text widget, the API would be this:
    public int getCaretPosition ()

To be in line with the StyledText widget, the API would be this:
    public int getCaretOffset ()
Comment 1 Felipe Heidrich CLA 2011-10-07 15:53:40 EDT
Fixed in HEAD, see bug 44072 for details.