C# Class PowerArgs.Cli.RichTextEditor

Inheritance: ObservableObject
Afficher le fichier Open project: adamabdelhamed/PowerArgs Class Usage Examples

Private Properties

Свойство Type Description
DoSyntaxHighlighting void
FireValueChanged void
WriteCharacterForPressedKey void

Méthodes publiques

Méthode Description
Clear ( ) : void
RegisterHandler ( IKeyHandler handler ) : void

Lets you register a custom key handler. You are responsible for ensuring that each key is only handled by one handler. This method will throw if you try to add a duplicate key handler.

RegisterKeyPress ( ConsoleKeyInfo key ) : void
RichTextEditor ( ) : System

Private Methods

Méthode Description
DoSyntaxHighlighting ( RichCommandLineContext context ) : void
FireValueChanged ( ) : void
WriteCharacterForPressedKey ( ConsoleKeyInfo key ) : void

Method Details

Clear() public méthode

public Clear ( ) : void
Résultat void

RegisterHandler() public méthode

Lets you register a custom key handler. You are responsible for ensuring that each key is only handled by one handler. This method will throw if you try to add a duplicate key handler.
public RegisterHandler ( IKeyHandler handler ) : void
handler IKeyHandler The handler to register
Résultat void

RegisterKeyPress() public méthode

public RegisterKeyPress ( ConsoleKeyInfo key ) : void
key System.ConsoleKeyInfo
Résultat void

RichTextEditor() public méthode

public RichTextEditor ( ) : System
Résultat System