C# Class AvalonStudio.Controls.IntellisenseManager

Exibir arquivo Open project: VitalElement/AvalonStudio Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
IntellisenseManager ( TextEditor editor, IIntellisenseControl intellisenseControl, ICompletionAssistant completionAssistant, ILanguageService languageService, ISourceFile file ) : Avalonia.Input
OnKeyDown ( Avalonia.Input.KeyEventArgs e, int caretIndex, int line, int column ) : void
OnKeyUp ( Avalonia.Input.KeyEventArgs e, int caretIndex, int line, int column ) : void
OnTextInput ( Avalonia.Input.TextInputEventArgs e, int caretIndex, int line, int column ) : void
SetCursor ( int index, int line, int column, List unsavedFiles, bool invokeOnRunner = true ) : void

Private Methods

Method Description
CloseIntellisense ( ) : void
DoComplete ( bool includeLastChar ) : bool
Editor_LostFocus ( object sender, Avalonia e ) : void
IsCompletionChar ( char currentChar ) : bool
IsLanguageSpecificTriggerChar ( char currentChar ) : bool
IsSearchChar ( char currentChar ) : bool
IsTriggerChar ( char currentChar, bool isVisible ) : bool
OpenIntellisense ( char currentChar, int caretIndex ) : void
SetCompletionData ( List completionData ) : void
UpdateFilter ( int caretIndex ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

IntellisenseManager() public method

public IntellisenseManager ( TextEditor editor, IIntellisenseControl intellisenseControl, ICompletionAssistant completionAssistant, ILanguageService languageService, ISourceFile file ) : Avalonia.Input
editor TextEditor
intellisenseControl IIntellisenseControl
completionAssistant ICompletionAssistant
languageService ILanguageService
file ISourceFile
return Avalonia.Input

OnKeyDown() public method

public OnKeyDown ( Avalonia.Input.KeyEventArgs e, int caretIndex, int line, int column ) : void
e Avalonia.Input.KeyEventArgs
caretIndex int
line int
column int
return void

OnKeyUp() public method

public OnKeyUp ( Avalonia.Input.KeyEventArgs e, int caretIndex, int line, int column ) : void
e Avalonia.Input.KeyEventArgs
caretIndex int
line int
column int
return void

OnTextInput() public method

public OnTextInput ( Avalonia.Input.TextInputEventArgs e, int caretIndex, int line, int column ) : void
e Avalonia.Input.TextInputEventArgs
caretIndex int
line int
column int
return void

SetCursor() public method

public SetCursor ( int index, int line, int column, List unsavedFiles, bool invokeOnRunner = true ) : void
index int
line int
column int
unsavedFiles List
invokeOnRunner bool
return void