Method GetTabString
- Namespace
- Alternet.Editor.TextSource
- Assembly
- Alternet.Editor.v10.dll
GetTabString(ref string, ref StringItemInfo[], bool, ITextUndoList)
When implemented by a class, converts all tab character to spaces depending on TabStops property.
public virtual void GetTabString(ref string str, ref StringItemInfo[] data, bool needData, ITextUndoList operations)
Parameters
strstringText to convert.
dataStringItemInfo[]Color data of specified string.
needDataboolIndicates whether method should return color data.
operationsITextUndoListList containing insertion or deletion of text fragments(spaces or tabs).
GetTabString(string)
Converts all tab character to spaces depending on TabStops property.
public virtual string GetTabString(string s)
Parameters
sstringText to convert.
Returns
- string
Tabbed string.
GetTabString(string, ITextUndoList)
Converts all tab character to spaces depending on ITabulation.TabStops property.
public virtual void GetTabString(string s, ITextUndoList operations)
Parameters
sstringText to convert.
operationsITextUndoListList containing insertion or deletion of text fragments(spaces or tabs).