mgeisler / textwrap

An efficient and powerful Rust library for word wrapping text.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add a trait for finding words

mgeisler opened this issue · comments

We currently find words by splitting the text on ' ' (ASCII scace) only. We should instead add a trait for this so we can implement support for splitting using the full Unicode line breaking algorithm. This will help us support East Asian languages as mentioned in #80.

Done with #332.