This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 69750

Summary: I18N - Improve support for Right-to-left Unicode text
Product: editor Reporter: clum <clum>
Component: -- Other --Assignee: Milutin Kristofic <mkristofic>
Status: NEW ---    
Severity: blocker CC: kfrank, mgrummich, michbarsinai
Priority: P2 Keywords: I18N
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description clum 2005-12-02 12:40:14 UTC
It appears that though Netbeans handles most Unicode text correctly, and also
displays right-to-left text correctly, it has a major problem with entering
right-to-left text (which is very inconvenient if, for example, someone wishes
to make a translation of a string table into Hebrew or Arabic). If you try
inserting text (even regular latin text) into a right-to-left word or sentence,
then the characters are inserted into the incorrect location. For example, if
one had a right-to-left word (like מילה) and tried inserted a space between the
ל and the ה, it would instead appear between the י and the מ. (I hope the bug
reporting system supports Hebrew characters.)
Comment 1 Miloslav Metelka 2005-12-05 16:53:30 UTC
Currently the editor's caret and document does not support bidirectional text
editing well. We need to check AbstractDocument.updateBidi() and how to reuse it
for our document implementation and the consequences for the view hierarchy and
caret. This will require a considerable effort thus marking for future.
Comment 2 Miloslav Metelka 2005-12-06 09:36:53 UTC
According to the complexity of implementation and testing I would like to
request this issue to be waived for 5.0.
Comment 3 Miloslav Metelka 2005-12-08 20:32:50 UTC
The issue was waived for 5.0.
Comment 4 Petr Hrebejk 2007-08-03 16:42:56 UTC
Waiwer request - No time for implementing in 6.0
Comment 5 Jan Becicka 2008-02-01 16:17:05 UTC
Milo, please take a look at this one. Thanks.
Comment 6 Jan Becicka 2008-06-09 12:37:42 UTC
Changing to feature request. We must evaluate costs and benefits of full-support of right to left editing.
Comment 7 Ken Frank 2008-08-20 16:01:27 UTC
here is list of other issues regarding rtl so perhaps can
help in evaluation of this or others; maybe some unified approach or mini project for future
release might be considered:

96333
96472
91440
98904
69750 - this one

ken.frank@sun.com
Comment 8 Miloslav Metelka 2008-11-19 10:06:41 UTC
*** Issue 152413 has been marked as a duplicate of this issue. ***