Table of Contents

Class CodeCompletionArgs

Namespace
Alternet.Syntax
Assembly
Alternet.Syntax.v9.dll

Provides data for the code completion events.

public class CodeCompletionArgs : EventArgs
Inheritance
CodeCompletionArgs

Constructors

CodeCompletionArgs()

Initializes CodeCompletionArgs with default values.

Properties

AllowAsync

Specifies whether code completion request can be run asynchronously.

AllowMultipleDocuments

Specifies whether code completion request can process other files.

Button

Represents a value indicating whether code completion window should popup in the form of the drop-down button.

CaretOffset

Specifies new caret position within the text when completion window is closed.

CompletionName

Specifies text in the editor to be completed.

CompletionType

Represents type of code completion window.

CustomData

Specifies code-completion specific data.

DisplayPosition

Specifies position within the text where code completion window is displayed. StartPosition

EndPosition

Specifies position within the text where code completion window is valid. StartPosition

Handled

Represents a value indicating whether the CodeCompletion event is handled. If the event is handled, code completion box will not appear.

Interval

Represents the delay, in milliseconds before displaying code completion window. Set Interval to 0 to make code completion window appearing immediately.

KeyChar

Represents the character typed in the Edit control.

Lexer

Specifies lexer used for drawing code completion windows.

MousePosition

Specifies position in pixels, where code completion window is displayed. StartPosition

NeedReparse

Specifies whether current scope should be reparsed when executing code completion request.

NeedShow

Represents a value indicating whether the code completion popup need showing.

NeedSmartFormat

Represents a value indicating whether the multi-line text should be formatted when inserting to the edit control.

NeedSmartIndent

Represents a value indicating whether the multi-line text should be indented when inserting to the edit control.

Notify

Specifies whether code completion request sends notification upon completion.

Provider

Represents the object that provides data for code completion.

SelIndex

Represents the index specifying the currently selected item of code completion box.

StartPosition

Specifies position within the text where code completion window is valid. EndPosition

ToolTip

Represents a value indicating whether code completion window should popup in the form of the tooltip.

Methods

Init()

Initializes CodeCompletionArgs with default values.

Init(CodeCompletionType, Point)

Initializes CodeCompletionArgs with specified parameters.

Init(CodeCompletionType, Point, bool)

Initializes CodeCompletionArgs with specified parameters.