EControl Syntax Editor SDK
TCustomSyntaxMemo.AlignLines Method

Aligns parts of the specified lines by columns.

procedure AlignLines(const Tokens: TStringList; ByFirst: Boolean; FromLine: integer; ToLine: integer);

AlignLines slices lines on two columns which are separated by the separators from Tokens list. 

When ByFirst is True - uses width of column of first line to align other lines, otherwise uses maximum width of first column.

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