C# Class FastColoredTextBoxNS.InsertCharCommand

Insert single char
This operation includes also insertion of new line and removing char by backspace
Inheritance: UndoableCommand
Afficher le fichier Open project: samarjeet27/ynoteclassic Class Usage Examples

Méthodes publiques

Свойство Type Description
c char

Méthodes publiques

Méthode Description
Clone ( ) : UndoableCommand
Execute ( ) : void

Execute operation

InsertCharCommand ( TextSource ts, char c ) : System

Constructor

Undo ( ) : void

Undo operation

Private Methods

Méthode Description
BreakLines ( int iLine, int pos, TextSource ts ) : void
InsertChar ( char c, char &deletedChar, TextSource ts ) : void
InsertLine ( TextSource ts ) : void
MergeLines ( int i, TextSource ts ) : void

Merge lines i and i+1

Method Details

Clone() public méthode

public Clone ( ) : UndoableCommand
Résultat UndoableCommand

Execute() public méthode

Execute operation
public Execute ( ) : void
Résultat void

InsertCharCommand() public méthode

Constructor
public InsertCharCommand ( TextSource ts, char c ) : System
ts TextSource
c char Inserting char
Résultat System

Undo() public méthode

Undo operation
public Undo ( ) : void
Résultat void

Property Details

c public_oe property

public char c
Résultat char