https://bugzilla.wikimedia.org/show_bug.cgi?id=54775

       Web browser: ---
            Bug ID: 54775
           Summary: Caret visible much ahead than actual position with
                    complex scripts
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: CodeEditor
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: siddhartha.g...@gmail.com
                CC: br...@wikimedia.org
    Classification: Unclassified
   Mobile Platform: ---

Created attachment 13401
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=13401&action=edit
Screenshot of caret visible much ahead of end of text

System Environment:
Windows7 X64 SP1
Google Chrome 29.0.1547.76 m

Steps:
1 Go to https://en.wikipedia.org/w/index.php?title=Module:Sandbox&action=edit
2 Make sure CodeEditor is enabled
3 Copy-paste the following text: -- अगर मैं कहूँ
4 Try to take the caret to the end of the text

What happens:
Caret moves much ahead than the visible end of text. It probably assigns one
visible space to one unicode character with no knowledge of glyphs.
This also means that the selection appears at one place while the text is at
another place, effectively meaning that the user has no idea what text is being
selected.

I've only tried hindi, but I'm guessing the issue would also show up with any
other indic scripts.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to