Table of Contents

Method SmartFormatLine

Namespace
Alternet.Syntax.CodeCompletion
Assembly
Alternet.Syntax.Parsers.Advanced.v9.dll

SmartFormatLine(int, string, StringItemInfo[], ISyntaxNodes, ITextUndoList)

When implemented by a class, formats line according to the parser rules.

void SmartFormatLine(int index, string text, StringItemInfo[] textData, ISyntaxNodes nodes, ITextUndoList operations)

Parameters

index int

Specifies index of line to format.

text string

Specifies string representation of the line.

textData StringItemInfo[]

Specifies data containing color information for the given string.

nodes ISyntaxNodes

Specifies nodes collection containing given line.

operations ITextUndoList

List containing insertion or deletion of text fragments.