However, the way wrapping is done depends on the actual wrap mode that was specified by Texteditor.WrapMode. In addition, Texteditor.WrapWords will allow to set if text editor will wrap at word boundaries or not.
Per default the WrapBorder is set to 0 which in fact disables the wrapping and depending on the set wrap mode, wrapping will either be completely ignored or wrapping will be done at the window limits, which is the default.