C# 클래스 IrcShark.Extensions.Terminal.LineEditor

파일 보기 프로젝트 열기: hapm/IrcShark

공개 프로퍼티들

프로퍼티 타입 설명
AutoCompleteEvent AutoCompleteHandler

Private Properties

프로퍼티 타입 설명
TextToRenderPos int
TextToScreenPos int
WordBackward int
WordForward int

공개 메소드들

메소드 설명
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
CmdTabOrComplete ( ) : void
CmdYank ( ) : void
ComputeRendered ( ) : void
Edit ( string prompt, string initial ) : string
EditLoop ( ) : void
ForceCursor ( int newpos ) : void
HandleChar ( char c ) : void
HistoryUpdateLine ( ) : void
InitText ( string initial ) : void
InsertChar ( char c ) : void
InsertTextAtCursor ( string str ) : void
InterruptEdit ( object sender, ConsoleCancelEventArgs a ) : void
LineEditor ( string name ) : System
LineEditor ( string name, int histsize ) : System
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
UpdateCursor ( int newpos ) : void
UpdateHomeRow ( int screenpos ) : void

비공개 메소드들

메소드 설명
TextToRenderPos ( int pos ) : int
TextToScreenPos ( int pos ) : int
WordBackward ( int p ) : int
WordForward ( int p ) : int

메소드 상세

CmdBackspace() 공개 메소드

public CmdBackspace ( ) : void
리턴 void

CmdBackwardWord() 공개 메소드

public CmdBackwardWord ( ) : void
리턴 void

CmdDebug() 공개 메소드

public CmdDebug ( ) : void
리턴 void

CmdDeleteBackword() 공개 메소드

public CmdDeleteBackword ( ) : void
리턴 void

CmdDeleteChar() 공개 메소드

public CmdDeleteChar ( ) : void
리턴 void

CmdDeleteWord() 공개 메소드

public CmdDeleteWord ( ) : void
리턴 void

CmdDone() 공개 메소드

public CmdDone ( ) : void
리턴 void

CmdEnd() 공개 메소드

public CmdEnd ( ) : void
리턴 void

CmdForwardWord() 공개 메소드

public CmdForwardWord ( ) : void
리턴 void

CmdHistoryNext() 공개 메소드

public CmdHistoryNext ( ) : void
리턴 void

CmdHistoryPrev() 공개 메소드

public CmdHistoryPrev ( ) : void
리턴 void

CmdHome() 공개 메소드

public CmdHome ( ) : void
리턴 void

CmdKillToEOF() 공개 메소드

public CmdKillToEOF ( ) : void
리턴 void

CmdLeft() 공개 메소드

public CmdLeft ( ) : void
리턴 void

CmdRefresh() 공개 메소드

public CmdRefresh ( ) : void
리턴 void

CmdReverseSearch() 공개 메소드

public CmdReverseSearch ( ) : void
리턴 void

CmdRight() 공개 메소드

public CmdRight ( ) : void
리턴 void

CmdTabOrComplete() 공개 메소드

public CmdTabOrComplete ( ) : void
리턴 void

CmdYank() 공개 메소드

public CmdYank ( ) : void
리턴 void

ComputeRendered() 공개 메소드

public ComputeRendered ( ) : void
리턴 void

Edit() 공개 메소드

public Edit ( string prompt, string initial ) : string
prompt string
initial string
리턴 string

EditLoop() 공개 메소드

public EditLoop ( ) : void
리턴 void

ForceCursor() 공개 메소드

public ForceCursor ( int newpos ) : void
newpos int
리턴 void

HandleChar() 공개 메소드

public HandleChar ( char c ) : void
c char
리턴 void

HistoryUpdateLine() 공개 메소드

public HistoryUpdateLine ( ) : void
리턴 void

InitText() 공개 메소드

public InitText ( string initial ) : void
initial string
리턴 void

InsertChar() 공개 메소드

public InsertChar ( char c ) : void
c char
리턴 void

InsertTextAtCursor() 공개 메소드

public InsertTextAtCursor ( string str ) : void
str string
리턴 void

InterruptEdit() 공개 메소드

public InterruptEdit ( object sender, ConsoleCancelEventArgs a ) : void
sender object
a System.ConsoleCancelEventArgs
리턴 void

LineEditor() 공개 메소드

public LineEditor ( string name ) : System
name string
리턴 System

LineEditor() 공개 메소드

public LineEditor ( string name, int histsize ) : System
name string
histsize int
리턴 System

Render() 공개 메소드

public Render ( ) : void
리턴 void

RenderAfter() 공개 메소드

public RenderAfter ( int p ) : void
p int
리턴 void

RenderFrom() 공개 메소드

public RenderFrom ( int pos ) : void
pos int
리턴 void

ReverseSearch() 공개 메소드

public ReverseSearch ( ) : void
리턴 void

SearchAppend() 공개 메소드

public SearchAppend ( char c ) : void
c char
리턴 void

SetPrompt() 공개 메소드

public SetPrompt ( string newprompt ) : void
newprompt string
리턴 void

SetSearchPrompt() 공개 메소드

public SetSearchPrompt ( string s ) : void
s string
리턴 void

SetText() 공개 메소드

public SetText ( string newtext ) : void
newtext string
리턴 void

UpdateCursor() 공개 메소드

public UpdateCursor ( int newpos ) : void
newpos int
리턴 void

UpdateHomeRow() 공개 메소드

public UpdateHomeRow ( int screenpos ) : void
screenpos int
리턴 void

프로퍼티 상세

AutoCompleteEvent 공개적으로 프로퍼티

Invoked when the user requests auto-completion using the tab character
The result is null for no values found, an array with a single string, in that case the string should be the text to be inserted for example if the word at pos is "T", the result for a completion of "ToString" should be "oString", not "ToString". When there are multiple results, the result should be the full text
public AutoCompleteHandler AutoCompleteEvent
리턴 AutoCompleteHandler