Table of Contents

Method PrepareData

Namespace
Alternet.Editor.CodeCompletion
Assembly
Alternet.Editor.v10.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.

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

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

Parameters

state int
style FontStyle
color Color
backColor Color
s string
colorData StringItemInfo[]

Returns

bool