Partager via


DefaultOptionExtensions.GetReplicateNewLineCharacter(IEditorOptions) Method

Definition

Determines whether to duplicate the new line character if it is already present when inserting a new line.

public:
[System::Runtime::CompilerServices::Extension]
 static bool GetReplicateNewLineCharacter(Microsoft::VisualStudio::Text::Editor::IEditorOptions ^ options);
public:
[System::Runtime::CompilerServices::Extension]
 static bool GetReplicateNewLineCharacter(Microsoft::VisualStudio::Text::Editor::IEditorOptions ^ options);
public static bool GetReplicateNewLineCharacter (this Microsoft.VisualStudio.Text.Editor.IEditorOptions options);
static member GetReplicateNewLineCharacter : Microsoft.VisualStudio.Text.Editor.IEditorOptions -> bool
<Extension()>
Public Function GetReplicateNewLineCharacter (options As IEditorOptions) As Boolean

Parameters

Returns

true if the new line character should be duplicated, otherwise false.

Applies to