Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 376194

Summary: [bdl-bidi] Mixed up display of code including Bidi characters
Product: [ECD] Orion Reporter: Tomer Mahlin <tomerm>
Component: EditorAssignee: Project Inbox <orion.editor-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: Lina.Kemmel, malgorzata.tomczyk, Silenio_Quarti, tomerm
Version: 0.5   
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard:
Bug Depends on: 381011    
Bug Blocks: 380930    
Attachments:
Description Flags
Sample Java code inlcuding Bidi characters none

Description Tomer Mahlin CLA 2012-04-05 11:40:52 EDT
When code includes Bidi (Arabic / Hebrew) characters (as part of comments, variable name, constants, function name, class names, package names) the display is not only mixed up but totally incomprehensible. 

The support present in regular Eclipse editor (based on StyledText widget) implemented via BidiSegmentListener is not present in Orion Editor. 

Adding Unicode Control Characters (UCC) "on the glass" as BidiSegmentListener does might not be an option for web based editor. The realistic option is to add UCC to the content and manage them during editing / copy / paste / selection / removal / cursor movement etc. operations. 

This kind of solution was already implemented in Eclipse for standard input fields. See bug 230854 for more details.
Comment 1 Tomer Mahlin CLA 2012-04-05 11:56:16 EDT
Created attachment 213672 [details]
Sample Java code inlcuding Bidi characters
Comment 2 John Arthorne CLA 2015-05-05 16:19:23 EDT
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see:


https://dev.eclipse.org/mhonarc/lists/orion-dev/msg03444.html