[ enum ] LineWrap

Description:

Enum for word wrapping styles.
Used with lineWrap() method in TextArea and DocumentEditor to control how text is wrapped.

Type: number

Properties:

Name Description

None

Disable line wrapping.

Word

Wrap line when a full word doesn't fit.

Character

Wrap line when a character doesn't fit.

Examples:

Setting line wrapping style:

textarea.lineWrapping(LineWrap.Word);

Also See: