Method SmartFormatLine
SmartFormatLine(int, string, StringItemInfo[], ITextUndoList, out bool)
Formats line according to the parser rules.
public override int SmartFormatLine(int index, string text, StringItemInfo[] textData, ITextUndoList operations, out bool actualPosition)
Parameters
indexintSpecifies index of line to format.
textstringSpecifies string representation of the line.
textDataStringItemInfo[]Specifies data containing color information for the given string.
operationsITextUndoListList containing insertion or deletion of text fragments.
actualPositionboolIf true, the indentation position will be returned, otherwise, the level.
Returns
- int
Indentation level at given line.