Soft hyphen is better, as it allows the line break to be displayed such that the viewer will realize that there isn't whitespace there.
We should add a user setting for which "break" method to use:
- Soft hyphen
- <wbr />
- zero-width space
with the current "auto code wrap" users getting "soft hyphen" and everyone else getting "space". Then the CB should use the selected method instead of the way it currently always uses space and "auto code wrap" should, of course, use the selected method.
I doubt I'll be getting to this any time soon. Others might.