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
intSpecifies start lexical state.
style
FontStyleSpecifies default font style.
color
ColorSpecifies default color
backColor
ColorSpecifies default background color
s
stringText to parse.
colorData
StringItemInfo[]Receives color data of the given text.
Returns
- bool
True if succeed; otherwise false.