Method ChangeBlock
ChangeBlock(StringEvent)
Changes selected text by applying specified event to every line in the selected text.
public virtual void ChangeBlock(StringEvent action)
Parameters
action
StringEventSpecifies 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
TextUndoEventSpecifies 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
StringEventSpecifies action to execute.
changeIfEmpty
boolIndicates that action should be performed for current line if selection is empty.
extendFirstLine
boolSpecifies 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
TextUndoEventSpecifies action to execute.
changeIfEmpty
boolIndicates that action should be performed for current line if selection is empty.
extendFirstLine
boolSpecifies 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
TextUndoEventactionEx
TextUndoEventExchangeIfEmpty
boolextendFirstLine
bool