WhitespaceFlags

Description

[Flags] [SemanticEnum]
enum Tinman.Core.Document.WhitespaceFlags

Enumeration of flags for whitespace handling of inline nodes.

Whitespace flags of consecutive inline nodes are collapsed, i.e. the trailing whitespace of the previous node and the leading whitespace of the following node will be merged. Also leading whitespaces at the beginning of a block node are dropped, just as tailing whitespaces at the end of a block node.

Public / Constants

None

public constant None → (0:int32)

The inline has neither leading nor trailing whitespaces.

Leading

public constant Leading → (1:int32)

A leading whitespace is required for the inline node.

Trailing

public constant Trailing → (2:int32)

A trailing whitespace is required for the inline node.

Both

public constant Both → (3:int32)

Both leading and trailing whitespace is required for the inline node.