[zanata-bugs] [Bug 889397] Unicode surrogates cause odd cursor movement in the editor

bugzilla at redhat.com bugzilla at redhat.com
Fri Dec 21 07:44:03 UTC 2012


Product: Zanata
https://bugzilla.redhat.com/show_bug.cgi?id=889397

--- Comment #2 from Sean Flanigan <sflaniga at redhat.com> ---
Oops, broke bugzilla again.

Steps to Reproduce:
1. Enter an ASCII character, eg "A".
2. Paste the character [from http://www.codetable.net/decimal/119558 ] into a
textflow target
3. Press the left arrow twice.

Actual results:
Cursor appears just before the Unicode character.

Expected results:
Cursor appears before the A character.

Additional info:
See also https://github.com/ajaxorg/ace/issues/1153 for a similar bug in ACE

Even stranger cursor behaviour can be found if you press backspace after
pasting the Unicode character, because it deletes only one of the surrogates.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=YymUqxaOLK&a=cc_unsubscribe




More information about the zanata-bugs mailing list