Actipro SyntaxEditor - Windows Forms .NET Control
Word Wrap
Word wrapping is a much sought-after feature for editors.
It allows users to view all text for a line by wrapping text that normally would have been outside the view
to one or more display lines in the document.
Word wrapping may be performed at the edge of the control or at a specific column.
Word Wrap Modes
SyntaxEditor supports four modes of word wrapping:
- None - no word wrapping is performed
- Character - words that don't fit on a line are wrapped to the nearest character
- Token - words that don't fit on a line are wrapped to the nearest start of a token;
if the token doesn't fit on a line, character wrapping is used for the token
- Word - words that don't fit on a line are wrapped to the nearest start of a word;
if the word doesn't fit on a line, character wrapping is used for the word
"Character" word wrap mode
"Word" word wrap mode for the same text
Word Wrap at a Specific Column
By default, word wrapping is performed at the edge of the control.
However in instances where word wrapping should be performed at certain column,
the index of a specific word wrap column can be set.
|