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
- stateint
- Specifies start lexical state. 
- lineint
- Specifies current line within the text. 
- strstring
- Text 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 override int ParseText(int state, int line, string s, ref int pos, ref int len, ref int token)Parameters
- stateint
- Specifies start lexical state. 
- lineint
- Specifies current line within the text. 
- sstring
- Text to analyze. 
- posint
- Starting position. 
- lenint
- Integer value to receive length of parsed element. 
- tokenint
- Retrieves style of text being parsed. 
Returns
- int
- Final lexical state.