[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sup-devel] Arch utf8 vs UTF-8 fix and wide character support



Reformatted excerpts from Matti Eiden's message of 2010-05-11:
> Oh right, splitting. Yes right, makes sense. I tried your
> console/string, seems good, except the display_split ignores the
> padding request? Or did I understand this feature wrongly? I mean, it
> slices the string exactly where the end offset is, not by the nearest
> " ", space?

The padding only comes into play when you ask it to slice a string in
the middle of a multi-column character. It will then pad the
left/right/both ends of the string to make the total display width of
the returned string what you asked for.

> With quick testing for resizing the window with different kind of test
> emails, I see no lost characters or text corruption.

Awesome. I'll see what I can do about 1.8-compatibility.
-- 
William <wmorgan-sup@masanjin.net>
_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel