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
actionStringEventSpecifies 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
actionTextUndoEventSpecifies 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
actionStringEventSpecifies action to execute.
changeIfEmptyboolIndicates that action should be performed for current line if selection is empty.
extendFirstLineboolSpecifies 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
actionTextUndoEventSpecifies action to execute.
changeIfEmptyboolIndicates that action should be performed for current line if selection is empty.
extendFirstLineboolSpecifies 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, object)
protected virtual void ChangeBlock(TextUndoEvent action, TextUndoEventEx actionEx, bool changeIfEmpty, bool extendFirstLine, object param = null)
Parameters
actionTextUndoEventactionExTextUndoEventExchangeIfEmptyboolextendFirstLineboolparamobject