Summary: | StyledText - bidi - provide solution for bidi coloring hack (1GL2UNC) | ||
---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Lynne Kues <lynne_kues> |
Component: | SWT | Assignee: | Lynne Kues <lynne_kues> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P2 | ||
Version: | 2.0 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: |
Description
Lynne Kues
2001-10-11 14:24:20 EDT
For character shaping and bold styles there are 2 cases - the bold range occurs within a segment or the bold range occurs across multiple bidi segments. If the bold range occurs within a bidi segment, the code should work "as is". If the bold range occurs across bidi segments, character shaping across boundaries should not be supported (doing so does not make sense). Need to change the prepareBoldText code to handle the second case. Released fix into HEAD. Instead of using setBidiColoring customers should register a BidiSegmentListener and explicitly specify reordering segments. Spec is included in BidiSegmentListener/BidiSegmentEvent. Need to deprecate setBidiColoring/getBidiColoing. In addition to deprecating get/setBidiColoring methods, also need to put in code for bold support and need to contact Kai about the change. Added code to handle bold and character shaping. Sent email to Kai. deprecate setBidiColoring and getBidiColoring methods in the next build. PRODUCT VERSION: 2.006 Deprecated setBidiColoring and getBidiColoring methods. Haven't heard anything from Kai. Changes released. |