EControl Syntax Editor SDK
TCustomSyntaxMemo.AlignSelectedLines Method

Aligns parts of the selected lines by columns.

procedure AlignSelectedLines(const Tokens: string; ByFirst: Boolean = False);

AlignSelectedLines 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!