Community
Participate
Working Groups
Created attachment 92882 [details] Java project with Hebrew data for import Build ID: IES3.4 B20080207-1530 Platform: MAC OS X 10.5 1. Import java project from attached zip (you should use UTF-8 encoding) 2. Open Hebrew-named java file and examine line 9. Result: hebrew data is treated wrongly. I am attaching screenshot of the same file on Win and Mac OSs
Created attachment 92883 [details] Mac (problematic) screenshot
Created attachment 92884 [details] Win (correct) screenshot
To summarize: you are saying that it looks OK on Windows but not on Mac OS, right? Are only the Java strings rendered wrongly?
Yes, it looks OK on Windows but not on Mac OS. This problem was solved for Windows and it is starnge it doesn't work for Mac. On Windows there is BidiSegmentListener that was added to JavaEditor. May be this addition doesn't exist on Mac?
>On Windows there is BidiSegmentListener that was added to JavaEditor. May be >this addition doesn't exist on Mac? The listener is always added but maybe SWT isn't calling or honoring it.
The BidiSegmentListener is not called in Mac.
Fixed in HEAD > 20080324 - Bog please include this fix in M6 for testing. Fixed TextLayout to implement setSegments Fixed StyledText to return isBidi()==true on the mac Note: BidiSegmentListener will get called on the time on the mac from now on.