Bug 273734 - [outline] BIDI3.5:HCG_Incorrect display of entities in outline view for java script file.
Summary: [outline] BIDI3.5:HCG_Incorrect display of entities in outline view for java ...
Status: NEW
Alias: None
Product: JSDT
Classification: WebTools
Component: General (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: Future   Edit
Assignee: wst.javascript CLA
QA Contact: Chris Jaun CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-26 14:40 EDT by Shensis Alexander CLA
Modified: 2013-06-19 11:10 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Shensis Alexander CLA 2009-04-26 14:40:56 EDT
Build ID: I20090313-0100

Steps To Reproduce:
Use the Bidi (Arabic/Hebrew) enabled version of Windows.

1. Start eclipse with following arguments: "-nl en -dir rtl".
2.Create new JavaScript Source file inside any project "New->JavaScript Source file".
3. Type in the following method : 
"function getObjectName(obj){return obj.name;}"

Result:
The Outline view display corresponding to method been typed looks like:
"(getObjectName(obj" as the result of right-to-left text orientation (inherited from top level frame).

The rule of thumb should be that controls which are supposed to hold non Bidi
data have to be left-to-right orientated and left justified.

More information:
Comment 1 Shensis Alexander CLA 2009-04-27 13:35:04 EDT
In addition the Script Explorer view shows file name distorted
from the same reason of having rigth-to-left orientation.
Thus the file "ABC.css" (where capital letters stands for Bidi charactes) is shown as "css.ABC".
Comment 2 Chris Jaun CLA 2009-09-15 13:09:03 EDT
Categorizing JSDT bugzillas for planning purposes.