Method GetIndentString
- Namespace
- Alternet.Editor.TextSource
- Assembly
- Alternet.Editor.v10.dll
GetIndentString(int, int)
Returns indentation string which consist of tabs and spaces.
public virtual string GetIndentString(int count, int pos)
Parameters
countintSpecifies number of characters in the string.
posintSpecifies start position of the string.
Returns
- string
Indented string that containing tabs and spaces.
GetIndentString(int, int, bool)
Returns indentation string which consist of tabs and spaces.
public virtual string GetIndentString(int count, int p, bool useSpaces)
Parameters
countintSpecifies number of characters in the string.
pintSpecifies start position of the string.
useSpacesboolSpecifies that spaces should be used instead of tab characters.
Returns
- string
Indented string that containing tabs and spaces.