C# Class MonoDevelop.Ide.Editor.Extension.CompletionTextEditorExtension

Inheritance: MonoDevelop.Ide.Editor.Extension.TextEditorExtension
Afficher le fichier Open project: powerumc/monodevelop_korean Class Usage Examples

Private Properties

Свойство Type Description
Deinitialize void
HandleFocusOutEvent void
HandleWindowClosed void
InternalInitialize void
OnUpdateCompletionCommand void
OnUpdateParameterCompletionCommand void
OnUpdateShowCodeTemplatesWindow void
RunCompletionCommand void
RunParameterCompletionCommand void
RunShowCodeTemplatesWindow void

Méthodes publiques

Méthode Description
CanRunCompletionCommand ( ) : bool
CanRunParameterCompletionCommand ( ) : bool
CodeCompletionCommand ( MonoDevelop.Ide.CodeCompletion.CodeCompletionContext completionContext ) : Task
Dispose ( ) : void
GetCompletionCommandOffset ( int &cpos, int &wlen ) : bool
GetCurrentParameterIndex ( int startOffset, CancellationToken token = default(CancellationToken) ) : Task
GuessBestMethodOverload ( ParameterHintingResult provider, int currentOverload, System token ) : Task
HandleBackspaceOrDeleteCodeCompletionAsync ( MonoDevelop.Ide.CodeCompletion.CodeCompletionContext completionContext, SpecialKey key, char triggerCharacter, CancellationToken token = default(CancellationToken) ) : Task
HandleCodeCompletionAsync ( MonoDevelop.Ide.CodeCompletion.CodeCompletionContext completionContext, char completionChar, CancellationToken token = default(CancellationToken) ) : Task
HandleParameterCompletionAsync ( MonoDevelop.Ide.CodeCompletion.CodeCompletionContext completionContext, char completionChar, CancellationToken token = default(CancellationToken) ) : Task
KeyPress ( MonoDevelop.Ide.Editor.Extension.KeyDescriptor descriptor ) : bool
ParameterCompletionCommand ( MonoDevelop.Ide.CodeCompletion.CodeCompletionContext completionContext ) : Task
ShowCodeSurroundingsCommand ( MonoDevelop.Ide.CodeCompletion.CodeCompletionContext completionContext ) : ICompletionDataList
ShowCodeTemplatesCommand ( MonoDevelop.Ide.CodeCompletion.CodeCompletionContext completionContext ) : ICompletionDataList
ShowCompletion ( ICompletionDataList completionList ) : void

Méthodes protégées

Méthode Description
HandlePositionChanged ( object sender, EventArgs e ) : void
Initialize ( ) : void
IsActiveExtension ( ) : bool
OnCompletionContextChanged ( object o, EventArgs a ) : void
ShowCompletion ( ICompletionDataList completionList, int triggerWordLength, char keyChar ) : void

Private Methods

Méthode Description
Deinitialize ( ) : void
HandleFocusOutEvent ( object sender, EventArgs args ) : void
HandleWindowClosed ( object sender, EventArgs e ) : void
InternalInitialize ( ) : void
OnUpdateCompletionCommand ( MonoDevelop.Components.Commands.CommandInfo info ) : void
OnUpdateParameterCompletionCommand ( MonoDevelop.Components.Commands.CommandInfo info ) : void
OnUpdateShowCodeTemplatesWindow ( MonoDevelop.Components.Commands.CommandInfo info ) : void
RunCompletionCommand ( ) : void
RunParameterCompletionCommand ( ) : void
RunShowCodeTemplatesWindow ( ) : void

Method Details

CanRunCompletionCommand() public méthode

public CanRunCompletionCommand ( ) : bool
Résultat bool

CanRunParameterCompletionCommand() public méthode

public CanRunParameterCompletionCommand ( ) : bool
Résultat bool

CodeCompletionCommand() public méthode

public CodeCompletionCommand ( MonoDevelop.Ide.CodeCompletion.CodeCompletionContext completionContext ) : Task
completionContext MonoDevelop.Ide.CodeCompletion.CodeCompletionContext
Résultat Task

Dispose() public méthode

public Dispose ( ) : void
Résultat void

GetCompletionCommandOffset() public méthode

public GetCompletionCommandOffset ( int &cpos, int &wlen ) : bool
cpos int
wlen int
Résultat bool

GetCurrentParameterIndex() public méthode

public GetCurrentParameterIndex ( int startOffset, CancellationToken token = default(CancellationToken) ) : Task
startOffset int
token System.Threading.CancellationToken
Résultat Task

GuessBestMethodOverload() public méthode

public GuessBestMethodOverload ( ParameterHintingResult provider, int currentOverload, System token ) : Task
provider ParameterHintingResult
currentOverload int
token System
Résultat Task

HandleBackspaceOrDeleteCodeCompletionAsync() public méthode

public HandleBackspaceOrDeleteCodeCompletionAsync ( MonoDevelop.Ide.CodeCompletion.CodeCompletionContext completionContext, SpecialKey key, char triggerCharacter, CancellationToken token = default(CancellationToken) ) : Task
completionContext MonoDevelop.Ide.CodeCompletion.CodeCompletionContext
key SpecialKey
triggerCharacter char
token System.Threading.CancellationToken
Résultat Task

HandleCodeCompletionAsync() public méthode

public HandleCodeCompletionAsync ( MonoDevelop.Ide.CodeCompletion.CodeCompletionContext completionContext, char completionChar, CancellationToken token = default(CancellationToken) ) : Task
completionContext MonoDevelop.Ide.CodeCompletion.CodeCompletionContext
completionChar char
token System.Threading.CancellationToken
Résultat Task

HandleParameterCompletionAsync() public méthode

public HandleParameterCompletionAsync ( MonoDevelop.Ide.CodeCompletion.CodeCompletionContext completionContext, char completionChar, CancellationToken token = default(CancellationToken) ) : Task
completionContext MonoDevelop.Ide.CodeCompletion.CodeCompletionContext
completionChar char
token System.Threading.CancellationToken
Résultat Task

HandlePositionChanged() protected méthode

protected HandlePositionChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

Initialize() protected méthode

protected Initialize ( ) : void
Résultat void

IsActiveExtension() protected méthode

protected IsActiveExtension ( ) : bool
Résultat bool

KeyPress() public méthode

public KeyPress ( MonoDevelop.Ide.Editor.Extension.KeyDescriptor descriptor ) : bool
descriptor MonoDevelop.Ide.Editor.Extension.KeyDescriptor
Résultat bool

OnCompletionContextChanged() protected méthode

protected OnCompletionContextChanged ( object o, EventArgs a ) : void
o object
a System.EventArgs
Résultat void

ParameterCompletionCommand() public méthode

public ParameterCompletionCommand ( MonoDevelop.Ide.CodeCompletion.CodeCompletionContext completionContext ) : Task
completionContext MonoDevelop.Ide.CodeCompletion.CodeCompletionContext
Résultat Task

ShowCodeSurroundingsCommand() public méthode

public ShowCodeSurroundingsCommand ( MonoDevelop.Ide.CodeCompletion.CodeCompletionContext completionContext ) : ICompletionDataList
completionContext MonoDevelop.Ide.CodeCompletion.CodeCompletionContext
Résultat ICompletionDataList

ShowCodeTemplatesCommand() public méthode

public ShowCodeTemplatesCommand ( MonoDevelop.Ide.CodeCompletion.CodeCompletionContext completionContext ) : ICompletionDataList
completionContext MonoDevelop.Ide.CodeCompletion.CodeCompletionContext
Résultat ICompletionDataList

ShowCompletion() public méthode

public ShowCompletion ( ICompletionDataList completionList ) : void
completionList ICompletionDataList
Résultat void

ShowCompletion() protected méthode

protected ShowCompletion ( ICompletionDataList completionList, int triggerWordLength, char keyChar ) : void
completionList ICompletionDataList
triggerWordLength int
keyChar char
Résultat void