C# Class Wv.Mono.Terminal.LineEditor

Mostra file Open project: apenwarr/versaplex Class Usage Examples

Private Properties

Property Type Description
CmdBackspace void
CmdBackwardWord void
CmdDebug void
CmdDeleteBackword void
CmdDeleteChar void
CmdDeleteWord void
CmdDone void
CmdEnd void
CmdForwardWord void
CmdHistoryNext void
CmdHistoryPrev void
CmdHome void
CmdKillToEOF void
CmdLeft void
CmdRefresh void
CmdReverseSearch void
CmdRight void
CmdYank void
ComputeRendered void
EditLoop void
ForceCursor void
HandleChar void
HistoryUpdateLine void
InitText void
InsertChar void
InterruptEdit void
Render void
RenderAfter void
RenderFrom void
ReverseSearch void
SearchAppend void
SetPrompt void
SetSearchPrompt void
SetText void
TextToRenderPos int
TextToScreenPos int
UpdateCursor void
UpdateHomeRow void
WordBackward int
WordForward int

Public Methods

Method Description
Edit ( string prompt, string initial ) : string
LineEditor ( string name ) : System
LineEditor ( string name, int histsize ) : System

Private Methods

Method Description
CmdBackspace ( ) : void
CmdBackwardWord ( ) : void
CmdDebug ( ) : void
CmdDeleteBackword ( ) : void
CmdDeleteChar ( ) : void
CmdDeleteWord ( ) : void
CmdDone ( ) : void
CmdEnd ( ) : void
CmdForwardWord ( ) : void
CmdHistoryNext ( ) : void
CmdHistoryPrev ( ) : void
CmdHome ( ) : void
CmdKillToEOF ( ) : void
CmdLeft ( ) : void
CmdRefresh ( ) : void
CmdReverseSearch ( ) : void
CmdRight ( ) : void
CmdYank ( ) : void
ComputeRendered ( ) : void
EditLoop ( ) : void
ForceCursor ( int newpos ) : void
HandleChar ( char c ) : void
HistoryUpdateLine ( ) : void
InitText ( string initial ) : void
InsertChar ( char c ) : void
InterruptEdit ( object sender, ConsoleCancelEventArgs a ) : void
Render ( ) : void
RenderAfter ( int p ) : void
RenderFrom ( int pos ) : void
ReverseSearch ( ) : void
SearchAppend ( char c ) : void
SetPrompt ( string newprompt ) : void
SetSearchPrompt ( string s ) : void
SetText ( string newtext ) : void
TextToRenderPos ( int pos ) : int
TextToScreenPos ( int pos ) : int
UpdateCursor ( int newpos ) : void
UpdateHomeRow ( int screenpos ) : void
WordBackward ( int p ) : int
WordForward ( int p ) : int

Method Details

Edit() public method

public Edit ( string prompt, string initial ) : string
prompt string
initial string
return string

LineEditor() public method

public LineEditor ( string name ) : System
name string
return System

LineEditor() public method

public LineEditor ( string name, int histsize ) : System
name string
histsize int
return System