If line wrapping is enabled (see set_line_wrap) this function controls how the line wrapping is performed.
The default is WORD which means wrap on word boundaries.
a Text
the line wrapping mode