Method GetSmartIndentString
GetSmartIndentString(int, bool, bool, int)
When implemented by a class, returns indentation string for specified line.
string GetSmartIndentString(int index, bool autoIndent, bool useSpaces, int spacesInTab)
Parameters
indexintSpecifies index of line to obtain indentation level.
autoIndentboolIndicates whether indentation level should be calculated automatically, or obtained from the previous line.
useSpacesboolIndicates whether indentation string should contain spaces or tabs.
spacesInTabintSpecifies number of spaces in tab.
Returns
- string
Indentation text at line specified by index.