Method GetIndent
GetIndent(Document, int, CancellationToken)
int GetIndent(Document document, int line, CancellationToken cancellationToken = default)
Parameters
document
Documentline
intcancellationToken
CancellationToken
Returns
GetIndent(Document, int, bool, int, CancellationToken)
int GetIndent(Document document, int line, bool useSpaces, int spacesInTab, CancellationToken cancellationToken = default)
Parameters
document
Documentline
intuseSpaces
boolspacesInTab
intcancellationToken
CancellationToken