Table of Contents

Interface ICodeCompletion

Namespace
Alternet.Editor.CodeCompletion
Assembly
Alternet.Editor.v9.dll

Represents properties and methods to provide code completion list box/tooltip for the Editor's content.

public interface ICodeCompletion

Properties

CodeCompletionBox

When implemented by a class, represents object that specifies a popup window that contains Code completion information presented in the form of list.

CodeCompletionButton

When implemented by a class, represents object that specifies a popup window that contains Code completion information presented in the form of list.

CodeCompletionChars

When implemented by a class, represents a collection of characters that initializes a code completion procedure when typing in the editor.

CodeCompletionHint

When implemented by a class, represents object that specifies a popup window that contains Code completion information presented in the form of the tooltip.

CodeCompletionMode

When implemented by a class, gets or sets code completion box mode.

IsCodeCompletionWindowFocused

When implemented by a class, indicates whether ICodeCompletionWindow has focus.

Methods

CodeCompletion(CodeCompletionArgs)

When implemented by a class, performs code completion for the specified text representing language element.

CodeCompletionWindowFocused(out Control)

When implemented by a class, indicates whether ICodeCompletionWindow has focus.

CodeSnippets()

When implemented by a class, displays a code completion window with list of available code snippets.

CompleteCodeActions()

When implemented by a class, displays a code completion window with list of available code fixes or code refactors.

CompleteCodeFixes()

When implemented by a class, displays a code completion window with list of available code fixes.

CompleteCodeRefactors()

When implemented by a class, displays a code completion window with list of available code refactors.

CompleteWord()

When implemented by a class, displays a code completion window that lists members of the current class in the Editor's content and locates single member, if possible.

InsertCodeSnippet(ICodeSnippet, Point)

Inserts Code Snippet at the given position in the text

IsValidText(Point)

When implemented by a class, indicates whether text at the specified position is valid (that is does not contain comments or string constants).

ListMembers()

When implemented by a class, displays a code completion window that lists members of the current class in the Editor's content.

ParameterInfo()

When implemented by a class, displays a code completion window containing information for the current method or parameter in the Editor's content.

QuickInfo()

When implemented by a class, displays a code completion window with simple tooltip information.

ShowCodeCompletionBox(ICodeCompletionProvider, CodeCompletionType)

When implemented by a class, shows code completion popup window with given provider at the current position.

ShowCodeCompletionBox(ICodeCompletionProvider, CodeCompletionType, Point)

When implemented by a class, shows code completion popup window with given Provider at the specified position.

ShowCodeCompletionButton(ICodeCompletionProvider, Point, bool)

When implemented by a class, shows code completion popup window with given Provider at the specified position.

ShowCodeCompletionHint(ICodeCompletionProvider, ILexer)

When implemented by a class, displays ICodeCompletionHint with given provider at the current position.

ShowCodeCompletionHint(ICodeCompletionProvider, Point, ILexer)

When implemented by a class, displays ICodeCompletionHint with given provider at the specified position.

Events

CodeSnippetInserted

When implemented by a class, occurs when code completion window is to be displayed.

NeedCodeCompletion

When implemented by a class, occurs when code completion window is to be displayed.