Table of Contents

Method ChangeBlock

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

ChangeBlock(StringEvent)

Changes selected text by applying specified event to every line in the selected text.

public virtual void ChangeBlock(StringEvent action)

Parameters

action StringEvent

Specifies action to execute.

ChangeBlock(TextUndoEvent)

Changes selected text by applying specified event to every line in the selected text.

public virtual void ChangeBlock(TextUndoEvent action)

Parameters

action TextUndoEvent

Specifies action to execute.

ChangeBlock(StringEvent, bool, bool)

Changes selected text by applying specified event to every line in the selected text.

public virtual 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.

ChangeBlock(TextUndoEvent, bool, bool)

Changes selected text by applying specified event to every line in the selected text.

public virtual 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, TextUndoEventEx, bool, bool)

protected virtual void ChangeBlock(TextUndoEvent action, TextUndoEventEx actionEx, bool changeIfEmpty, bool extendFirstLine)

Parameters

action TextUndoEvent
actionEx TextUndoEventEx
changeIfEmpty bool
extendFirstLine bool