Jaa


TmdlExpressionTrimStyle Enum

Definition

An enumeration that indicates the way whitespaces in lines of an expression block are trimmed when serialized into TMDL text.

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum TmdlExpressionTrimStyle
[<System.Flags>]
type TmdlExpressionTrimStyle = 
Public Enum TmdlExpressionTrimStyle
Inheritance
TmdlExpressionTrimStyle
Attributes

Fields

Name Value Description
NoTrim 0

There is no trimming that is done during the serialization; whitespace are left as is.

TrimTrailingWhitespaces 1

Any trailing whitespace at the end of lines of expressions are trimmed; empty lines, or ones that contain only whitespaces, at the end of the expression blocks are removed.

TrimLeadingCommonWhitespaces 2

For a an expression block with a just a single line, the leading whitespaces are trimmed; for expression blocks with more than one line, only the common leading indentation is trimmed.

Applies to