Condividi tramite


DefaultOptions.NewLineCharacterOptionId Field

Definition

The default option that determines the newline character or characters.

public: static initonly Microsoft::VisualStudio::Text::Editor::EditorOptionKey<System::String ^> NewLineCharacterOptionId;
static initonly Microsoft::VisualStudio::Text::Editor::EditorOptionKey<std::wstring> NewLineCharacterOptionId;
public static readonly Microsoft.VisualStudio.Text.Editor.EditorOptionKey<string> NewLineCharacterOptionId;
 staticval mutable NewLineCharacterOptionId : Microsoft.VisualStudio.Text.Editor.EditorOptionKey<string>
Public Shared ReadOnly NewLineCharacterOptionId As EditorOptionKey(Of String) 

Field Value

Remarks

The newline character can be a string, as in the common case of "\r\n". This setting applies when ReplicateNewLineCharacter is false, or when ReplicateNewLineCharacter is true and the text buffer is empty.

Applies to