Table of Contents

Method InsertBlock

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

InsertBlock(string, bool)

When implemented by a class, inserts the given string at the specified location.

bool InsertBlock(string text, bool withChange = false)

Parameters

text string

String to insert.

withChange bool

Indicates if the change needs to be translated to the parser

Returns

bool

True if the method succeed; otherwise false.

InsertBlock(string[], bool)

When implemented by a class, inserts the given string array at the specified location.

bool InsertBlock(string[] strings, bool withChange = false)

Parameters

strings string[]

String array to insert.

withChange bool

Indicates if the change needs to be translated to the parser

Returns

bool

True if the method succeed; otherwise false.

InsertBlock(ITextStrings, bool)

When implemented by a class, inserts the given string collection at the specified location.

bool InsertBlock(ITextStrings strings, bool withChange = false)

Parameters

strings ITextStrings

Collection of strings to insert.

withChange bool

Indicates if the change needs to be translated to the parser

Returns

bool

True if the method succeed; otherwise false.

InsertBlock(string[], bool, bool)

When implemented by a class, inserts the given string array at the specified location.

bool InsertBlock(string[] strings, bool select, bool withChange = false)

Parameters

strings string[]

String array to insert.

select bool

Specifies whether inserted block should be selected.

withChange bool

Indicates if the change needs to be translated to the parser

Returns

bool

True if the method succeed; otherwise false.