This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 376194 - [bdl-bidi] Mixed up display of code including Bidi characters
Summary: [bdl-bidi] Mixed up display of code including Bidi characters
Status: RESOLVED WONTFIX
Alias: None
Product: Orion (Archived)
Classification: ECD
Component: Editor (show other bugs)
Version: 0.5   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 381011
Blocks: 380930
  Show dependency tree
 
Reported: 2012-04-05 11:40 EDT by Tomer Mahlin CLA
Modified: 2015-05-05 16:19 EDT (History)
4 users (show)

See Also:


Attachments
Sample Java code inlcuding Bidi characters (4.32 KB, application/x-zip-compressed)
2012-04-05 11:56 EDT, Tomer Mahlin CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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