Table of Contents

Method NewLine

Namespace
Alternet.Editor
Assembly
Alternet.Editor.v9.dll

NewLine()

Inserts a line break at the current position.

public virtual bool NewLine()

Returns

bool

True if the method succeed; otherwise false.

NewLine(ref string, bool)

Inserts a line break at the current position with indentation

public virtual bool NewLine(ref string indent, bool withChange = false)

Parameters

indent string

pass desired indentation level, or null for automatic indentation

withChange bool

Indicates if the change needs to be translated to the parser

Returns

bool

True if the method succeed; otherwise false.