fromText package:yi-rope

Converts a Text into a YiString using defaultChunkSize-sized chunks for the underlying tree.
This is like fromText but it allows the user to specify the chunk size to be used. Uses defaultChunkSize if the given size is <= 0.