Table of Contents

Class HintSyntaxPaint

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

Represents class that performs syntax painting for hint control.

public class HintSyntaxPaint : HtmlSyntaxPaint, ISyntaxPaint, IDisposable
Inheritance
HintSyntaxPaint
Implements

Constructors

HintSyntaxPaint(IPainter, Control)

Initializes a new instance of the HintSyntaxPaint class with specified graphic surface and owner control.

Properties

LeftArrowArea

Represents rectangular area for left arrow.

NeedArrows

Gets boolean value indicating whether hint control have to paint up/down arrows.

StartPos

Gets or sets start position of the hint in text coordinates.

Strings

Represents an array of strings displayed in a hint.

Methods

AddLine(string, StringItemInfo[])
DrawLine(int, string, StringItemInfo[], Point, Rectangle)

Draws line given by its index at the specified position.

GetNameStr()
GetString(int, ref string, ref StringItemInfo[])
PaintSyntax(int, int, Point, Rectangle, Point, bool)

Paints a specified part of the hint control.

ProviderChanged(ICodeCompletionProvider, int)

Updates provider and related properties to this control.

TextChanged()
UpdateHint()

Updates content of the hint window.

UpdateSize()

Updates size of this control.