Table of Contents

Method PrepareData

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

PrepareData(int, FontStyle, Color, Color, ref string, ref StringItemInfo[])

Prepares color data to paint.

public virtual bool PrepareData(int state, FontStyle style, Color color, Color backColor, ref string s, ref StringItemInfo[] colorData)

Parameters

state int

Specifies start lexical state.

style FontStyle

Specifies default font style.

color Color

Specifies default color

backColor Color

Specifies default background color

s string

Text to parse.

colorData StringItemInfo[]

Receives color data of the given text.

Returns

bool

True if succeed; otherwise false.