Whitespace

Settings for handling of whitespace and line wrapping.

These values correspond to the values of the CSS white-space property.

See also

Entries

Link copied to clipboard

Wrap text and collapse all whitespaces and line breaks

Link copied to clipboard

Collapse spaces and line breaks, but don't wrap lines. This will effectively put all text on a single line.

Link copied to clipboard

Make no changes to the input text

Link copied to clipboard

Like PRE, but will break long lines

Link copied to clipboard

Like NORMAL, but preserves any line breaks from the input

Properties

Link copied to clipboard

If true, line breaks in the text will be replaced with spaces.

Link copied to clipboard

If true, consecutive spaces will be replaced with a single space.

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

If true, whitespace at the end of lines will be removed.

Link copied to clipboard

If true, lines will be broken by replacing spaces with line breaks where necessary to keep lines under the configured width.

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.