Project: SWT
Bug 20690 StyledText - bidi - should force font script when keyboard language changed
Reported: 2002-06-19 17:46:51 | Status: resolved fixed

StyledText derives whether or not to reorder text based on what the font script is (this is what MS doc says to do when using GetCharacterPlacement). If you have your font script set incorrectly (e.g., Western vs. Hebrew/Arabic), RtoL text will be displayed as LtoR, which is confusing. Other applications (e.g., WordPad) set the font script when the keyboard language is changed. We should do this if we can. Post 2.0.

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/internal/BidiUtil.java