Method ParseText
ParseText(int, int, string, ref StringItemInfo[])
Performs lexical analysis of given text.
public virtual int ParseText(int state, int line, string str, ref StringItemInfo[] colorData)
Parameters
stateintSpecifies start lexical state.
lineintSpecifies current line within the text.
strstringText to analyze.
colorDataStringItemInfo[]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 virtual int ParseText(int state, int line, string str, ref int pos, ref int len, ref int style)
Parameters
stateintSpecifies start lexical state.
lineintSpecifies current line within the text.
strstringText to analyze.
posintStarting position.
lenintInteger value to receive length of parsed element.
styleintRetrieves style of text being parsed.
Returns
- int
Final lexical state.