DefaultOptions.NewLineCharacterOptionId Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.