Today's programming challenge - How's your Range-Fu ?

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Fri Apr 17 11:42:02 PDT 2015


On 4/17/2015 9:59 AM, H. S. Teoh via Digitalmars-d wrote:
> So either you have to throw out all pretenses of Unicode-correctness and
> just stick with ASCII-style per-character line-wrapping, or you have to
> live with byGrapheme with all the complexity that it entails. The former
> is quite easy to write -- I could throw it together in a couple o' hours
> max, but the latter is a pretty big project (cf. Unicode line-breaking
> algorithm, which is one of the TR's).

It'd be good enough to duplicate the existing behavior, which is to treat 
decoded unicode characters as one column.



More information about the Digitalmars-d mailing list