EControl Syntax Editor SDK
TCustomSyntaxMemo.ExpandTabs Method

Replaces all Tab characters with the Spaces.

procedure ExpandTabs(var S: ecString; CurPos: integer; LogK: integer);

TabList is used to calculate number of Space characters to replace Tab. Strt indicates logical position of the first character of the string S. ExpandTabs returns logical position of the next character after string S.

Copyright (c) 2004-2011. All rights reserved.
What do you think about this topic? Send feedback!