Table of Contents

Interface ICodeCompletionWindow

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

Represents properties and methods to display a popup window containing Code Completion information.

public interface ICodeCompletionWindow

Properties

AutoSize

When implemented by a class, gets or sets a value indicating whether a popup window is automatically resized to fit its contents.

BackColor

When implemented by a class, gets or sets the back color for the popup window.

CompletionFlags

When implemented by a class, gets or sets collection of attributes that specifies behaviour of the popup window.

DisplayPos

When implemented by a class, specifies position within the text (as index of line and character) where ICodeCompletionWindow is displayed.

EndPos

When implemented by a class, specifies position within the text (as index of line and character) where ICodeCompletionWindow is valid.

FocusControl

When implemented by a class, returns child control that has an input focus.

Font

When implemented by a class, gets or sets the font for the popup window.

ForeColor

When implemented by a class, gets or sets the fore color for the popup window.

Images

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

IsFocused

When implemented by a class, indicates whether ICodeCompletionWindow or it's child control has an input focus.

IsVisible

When implemented by a class, indicates if window is visible.

OwnerControl

When implemented by a class, represents a control owning the ICodeCompletionWindow.

PopupControl

When implemented by a class, represents control contained in popup window. Usually CodeCompletionHint or CompletionListBox. CodeCompletionHint CompletionListBox

Provider

When implemented by a class, gets or sets the object that contains data related to the popup window.

Size

When implemented by a class, returns size of the window.

Sizeable

When implemented by a class, gets or sets a value indicating whether the border of the popup window is resizable.

StartPos

When implemented by a class, specifies position within the text (as index of line and character) where ICodeCompletionWindow is valid.

Methods

Close(bool)

When implemented by a class, closes the popup window.

Close(bool, bool)

Closes the popup window.

CloseDelayed(bool)

When implemented by a class, closes the popup window with delay.

ContainsControl(Control)

When implemented by a class, retrieves a value indicating whether the popup window contains the specified control.

ContainsMouseCursor(int)

When implemented by a class, determines whether control contains mouse position, with specified therehold.

EnsureVisible(ref Point)

When implemented by a class, ensures that the popup window is visible in the screen working area, moving it if necessary.

PerformSearch()

When implemented by a class, performs searching operation.

Popup()

When implemented by a class, displays popup window at the current mouse position.

PopupAt(Point)

When implemented by a class, displays popup window at the specified screen position.

PopupAt(Point, ICodeCompletionProvider)

When implemented by a class, displays popup window at the specified screen position.

PopupAt(int, int)

When implemented by a class, displays popup window at the specified screen position.

PositionChanged(int, int, int, int)

When implemented by a class, responds on changing position in the popup window.

ResetAutoSize()

When implemented by a class, resets the AutoSize to the default value.

ResetCodeCompletionFlags()

When implemented by a class, resets the CodeCompletions to the default value.

ResetContent()

When implemented by a class, updates ICodeCompletionWindow content from its Provider.

ResetSizeable()

When implemented by a class, resets the Sizeable to the default value.

Events

ClosePopup

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

Disposed

When implemented by a class, occurs when the popup window is disposed.

HelpRequested

When implemented by a class, occurs when user requests help for a control.

KeyPreviewEvent

Occurs when the popup window receives key message.

ShowPopup

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