Table of Contents

Interface ICodeCompletionProvider

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

Represents properties and methods to provide data related to Code Completion popup listbox and popup hint controls.

public interface ICodeCompletionProvider : IList<ICodeCompletionProviderItem>, ICollection<ICodeCompletionProviderItem>, IEnumerable<ICodeCompletionProviderItem>, IEnumerable, IExport, IImport
Extension Methods

Properties

AlphaImages

When implemented by a class, gets or sets the AlphaImageList for code completion items.

ColumnCount

When implemented by a class, represents number of the columns.

Descriptions

When implemented by a class, provides an indexed access to the description of each column.

EditField

When implemented by a class, gets or sets a value indicating editable field of the code completion provider.

EditPath

When implemented by a class, gets or sets a value indicating path to the nested code completion provider.

FocusMode

When implemented by a class, specifies mode where pre-selected item in code completion listbox is just focused, but not selected.

FormatDisplayText

When implemented by a class, gets a boolean value indicating that rich text formatting should be applied to display text.

ImageIndexes

When implemented by a class, provides an indexed access to the image index of each column.

Images

When implemented by a class, gets or sets the ImageList for code completion items.

ImagesHighDpi

When implemented by a class, gets or sets the ImageList for code completion items for high DPI.

InvokeChar

When implemented by a class, specifies a character that triggered code completion invocation

NameColumnIndex

When implemented by a class, gets an index of the column containing name.

NeedSort

When implemented by a class, specifies if provider content needs to be sorted.

SelIndex

When implemented by a class, represents the index specifying the currently selected item of the popup control.

SelectedItem

When implemented by a class, represents currently selected item of the popup control.

ShowDescriptions

When implemented by a class, gets or sets a boolean value that indicates whether provider should display Description part in a form of tooltip near the popup control.

Strings

When implemented by a class, provides an indexed access to the text of default column.

UseHtmlFormatting

When implemented by a class, gets or sets a boolean value indicating whether html formatting tags may appear in the text.

UseIndent

When implemented by a class, gets or sets a boolean value indicating whether the multi-line text should be indented when inserting to the edit control.

Methods

ColumnSpace(int)

When implemented by a class, indicates whether after specified column SPACE is required.

ColumnVisible(int)

When implemented by a class, indicates whether specified column is visible.

GetColumnText(int, int)

When implemented by a class, returns text from given item in the specified column.

GetDescription(int)

When implemented by a class, returns a content of the column, named 'Description', of the specified item from the collection.

GetDisplayText(int)

When implemented by a class, returns string representing the display text of the item.

GetFullDisplayText(int)

When implemented by a class, returns string representing full text of the item.

GetImage(int)

When implemented by a class, returns number of image that is displayed for item given by index.

GetImageIndex(int)

When implemented by a class, returns number of image that is displayed for item given by index.

GetInsertText(int)

When implemented by a class, returns string to be inserted.

GetName(int)

When implemented by a class, returns string representing name of the item.

GetParent()

When implemented by a class, returns code completion provider owning this ICodeCompletionProvider instance.

GetPriority(int)

When implemented by a class, returns priority of the item.

GetText(int)

When implemented by a class, returns string representing default column.

IndexOfName(string, bool)

When implemented by a class, returns index of item within collection by it's name.

OnClosePopup(object, ClosingEventArgs)

When implemented by a class, raises ClosePopup event.

OnShowPopup(object, ShowingEventArgs)

When implemented by a class, raises ShowPopup event.

Sort()

When implemented by a class, sorts elements in the list.

Sort(IComparer<ICodeCompletionProviderItem>)

When implemented by a class, sorts elements in the list using the specified comparer.

Events

ClosePopup

When implemented by a class, occurs when popup control is closed.

ShowPopup

When implemented by a class, occurs when popup control is displayed.