text wrap

Doxin via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Sep 19 17:48:38 PDT 2015


On Sunday, 20 September 2015 at 00:28:23 UTC, Doxin wrote:
> I'll get to work on some example code.

here you go: http://dpaste.dzfl.pl/e6e715c54c1b

do mind that this code has a couple issues, for example handing 
it a word longer than the break width will make it loop 
infinitely.

word wrap is a surprisingly hard problem, but I hope I gave you a 
good enough starting point.



More information about the Digitalmars-d-learn mailing list