How to know the beginning position of n-th line in TRichedit
I want to know the position of the number of
the beginning of n-th line in TRichedit.
pos := 0;
for i:=0 to Lines.Count do
pos := pos + Length(Lines.Strings[i]);
But pos is not the beginning of TRichEdit;
How to get it?