Table of Contents

Method GetSmartIndent

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

GetSmartIndent(int, bool)

Returns indentation level of specified line.

public override int GetSmartIndent(int index, bool autoIndent)

Parameters

index int

Specifies index of line to obtain indentation level.

autoIndent bool

Indicates whether indentation level should be calculated automatically, or obtained from the previous line.

Returns

int

Indentation level at line specified by index.