C# Class FastColoredTextBoxNS.ReplaceTextCommand

Insert text into given ranges
Inheritance: UndoableCommand
Exibir arquivo Open project: samarjeet27/ynoteclassic

Public Methods

Method Description
Clone ( ) : UndoableCommand
Execute ( ) : void

Execute operation

ReplaceTextCommand ( TextSource ts, List ranges, string insertedText ) : System

Constructor

Undo ( ) : void

Undo operation

Private Methods

Method Description
ClearSelected ( TextSource ts ) : void

Method Details

Clone() public method

public Clone ( ) : UndoableCommand
return UndoableCommand

Execute() public method

Execute operation
public Execute ( ) : void
return void

ReplaceTextCommand() public method

Constructor
public ReplaceTextCommand ( TextSource ts, List ranges, string insertedText ) : System
ts TextSource
ranges List List of ranges for replace
insertedText string Text for inserting
return System

Undo() public method

Undo operation
public Undo ( ) : void
return void