Wrap text in a text field on white space

The title kind of says it. I’m looking for way to wrap text in a text field on whitespace rather than word boundaries, which get odd when dashes/underscores are involved.

If it’s not practically doable, no big deal, but it would be nice.

I suspect you’re out of luck, unless you want to do something like try swapping hyphens for non-breaking equivalents.