Method SmartFormatLine
- Namespace
- Alternet.Syntax.CodeCompletion
- Assembly
- Alternet.Syntax.Parsers.Advanced.v9.dll
SmartFormatLine(int, string, StringItemInfo[], ISyntaxNodes, ITextUndoList)
Formats line according to the parser rules.
public virtual void SmartFormatLine(int index, string text, StringItemInfo[] textData, ISyntaxNodes nodes, ITextUndoList operations)
Parameters
index
intSpecifies index of line to format.
text
stringSpecifies string representation of the line.
textData
StringItemInfo[]Specifies data containing color information for the given string.
nodes
ISyntaxNodesSpecifies nodes collection containing given line.
operations
ITextUndoListList containing insertion or deletion of text fragments.