Method GetSmartIndent
GetSmartIndent(int, bool)
When implemented by a class, returns indentation level of specified line.
int GetSmartIndent(int index, bool autoIndent)
Parameters
indexintSpecifies index of line to obtain indentation level.
autoIndentboolIndicates whether indentation level should be calculated automatically, or obtained from the previous line.
Returns
- int
Indentation level at line specified by index.
GetSmartIndent(int, bool, out bool)
When implemented by a class, returns indentation level of specified line.
int GetSmartIndent(int index, bool autoIndent, out bool actualPosition)
Parameters
indexintSpecifies index of line to obtain indentation level.
autoIndentboolIndicates whether indentation level should be calculated automatically, or obtained from the previous line.
actualPositionboolIf true, the indentation position will be returned, otherwise, the level.
Returns
- int
Indentation level at line specified by index.