| Summary: | [Forms] FormText needs a Caret | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Mike Higginbotham <higginmi> |
| Component: | User Assistance | Assignee: | Adam Archer <agarcher> |
| Status: | RESOLVED WONTFIX | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | agarcher |
| Version: | 3.4 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows Vista | ||
| Whiteboard: | |||
|
Description
Mike Higginbotham
The caret will not be added by default since it will change FormText behaviour in a way that some consumers might not like. As a workaround to the problem of FormText accepting focus without rendering it, I have added support for the SWT.NO_FOCUS style on FormText. See bug 236735 comment 15 for details. I plan on investigating the possibility of adding a new style bit along the lines of FormText.PAINT_FOCUS to cause FormText to render its focus. However, I don't think a Caret is the right solution. FormText is intended to mimic browser behaviour in a very light-weight widget. Use of a caret is not browser-like. Instead the flag will likely cause a focus box to be painted around the FormText. A focus box has been added to FormText by default. No style bit is needed. See bug 236735 comment 20. Closing as WONTFIX. |