Method ParseText
ParseText(int, int, string, ref StringItemInfo[])
Performs lexical analysis of given text.
public override int ParseText(int state, int line, string str, ref StringItemInfo[] colorData)
Parameters
state
intSpecifies start lexical state.
line
intSpecifies current line within the text.
str
stringText to analyze.
colorData
StringItemInfo[]Receives color data representing lexical information of the given text.
Returns
- int
Final lexical state.
ParseText(int, int, string, ref int, ref int, ref int)
Performs lexical analysis of given text.
public override int ParseText(int state, int line, string str, ref int pos, ref int len, ref int style)
Parameters
state
intSpecifies start lexical state.
line
intSpecifies current line within the text.
str
stringpos
intStarting position.
len
intInteger value to receive length of parsed element.
style
int
Returns
- int
Final lexical state.
ParseText(ITokenizeLineResult, Theme, int, string, ref StringItemInfo[])
protected virtual void ParseText(ITokenizeLineResult result, Theme theme, int line, string str, ref StringItemInfo[] colorData)
Parameters
result
ITokenizeLineResulttheme
Themeline
intstr
stringcolorData
StringItemInfo[]