Table of Contents

Method ChangeBlock

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

ChangeBlock(StringEvent)

When implemented by a class, changes selected text by applying specified event to every line in the selected text.

void ChangeBlock(StringEvent action)

Parameters

action StringEvent

Specifies action to execute.

ChangeBlock(TextUndoEvent, bool, bool)

When implemented by a class, changes selected text by applying specified event to every line in the selected text.

void ChangeBlock(TextUndoEvent action, bool changeIfEmpty, bool extendFirstLine)

Parameters

action TextUndoEvent

Specifies action to execute.

changeIfEmpty bool

Indicates that action should be performed for current line if selection is empty.

extendFirstLine bool

Specifies that action should applied to whole lines in the selected region rather than to the selected portion of the line.

ChangeBlock(TextUndoEvent)

When implemented by a class, changes selected text by applying specified event to every line in the selected text.

void ChangeBlock(TextUndoEvent action)

Parameters

action TextUndoEvent

Specifies action to execute.

ChangeBlock(StringEvent, bool, bool)

When implemented by a class, changes selected text by applying specified event to every line in the selected text.

void ChangeBlock(StringEvent action, bool changeIfEmpty, bool extendFirstLine)

Parameters

action StringEvent

Specifies action to execute.

changeIfEmpty bool

Indicates that action should be performed for current line if selection is empty.

extendFirstLine bool

Specifies that action should applied to whole lines in the selected region rather than to the selected portion of the line.