On Wed, Jan 27, 2010 at 10:42 PM, Edward K. Ream <[email protected]> wrote:
> On Wed, Jan 27, 2010 at 2:20 PM, Terry Brown <[email protected]> wrote:

> unicode *characters*.  Returning a bytes index instead of a character
> index has to be wrong in all situations.

I don't think they are bytes, since unicode chars are internally
represented by 2 bytes in QTextEdit. I think this is all about
compound unicode characters taking 2 "slots" in internal
representation (position()), but only one in the unicode string
representation the text editor exports to the outside world.

Regarding the severity of these bugs - most people in the world are
never going to bump into these, unless they are editing a .desktop
file with weird languages ;-).

-- 
Ville M. Vainio
http://tinyurl.com/vainio

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to