EControl Syntax Editor SDK
TCustomSyntaxMemo.WordWrap Property

Determines whether the editor wraps text at the right side of text area.

property WordWrap: Boolean;

Set WordWrap to True to make the editor wrap text at the right margin so it fits in the client area. The wrapping is cosmetic only--the text does not include any return characters that were not explicitly entered. Set WordWrap to False to have the editor show a separate line only where return characters were explicitly entered into the text.

Horizontal scroll bar will be hidden if WordWrap is True.

Copyright (c) 2004-2011. All rights reserved.
What do you think about this topic? Send feedback!