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
stateintSpecifies start lexical state.
styleFontStyleSpecifies default font style.
colorColorSpecifies default color
backColorColorSpecifies default background color
sstringText to parse.
colorDataStringItemInfo[]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)