In This Article

WhitespaceTrimModes Enum

Specifies the modes by which whitespace is trimmed.

[Flags]
public enum WhitespaceTrimModes

Fields

Name Description
None

Whitespace is not auto-trimmed.

TrailingOnPaste

Trailing whitespace is trimmed on text pasted into the document.

TrailingOnTextReplacement

Trailing whitespace is trimmed when the entire contents of the document are replaced, such as via a document open.