Table of Contents

Method GetIndent

Namespace
Alternet.Syntax.Parsers.Roslyn
Assembly
Alternet.Syntax.Parsers.Roslyn.v9.dll

GetIndent(Document, int, bool, int, CancellationToken)

public int GetIndent(Document document, int line, bool useSpaces, int spacesInTab, CancellationToken cancellationToken)

Parameters

document Document
line int
useSpaces bool
spacesInTab int
cancellationToken CancellationToken

Returns

int

GetIndent(Document, int, CancellationToken)

public int GetIndent(Document document, int line, CancellationToken cancellationToken)

Parameters

document Document
line int
cancellationToken CancellationToken

Returns

int