Table of Contents

Method NewLine

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

NewLine()

When implemented by a class, inserts a line break at the current position.

bool NewLine()

Returns

bool

True if the method succeed; otherwise false.

NewLine(ref string, bool)

When implemented by a class, inserts a line break at the current position with indentation.

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.