I mean:
- Code: Select all
var
s : String;
for i := 0 to ARichEdit.Lines.Count - 1 do // walking through the rows
begin
s := ARichEdit.Lines[i]; // Here ARichEdit.Lines[i] belongs to
// paragraph number 5, for exaple;
// How to detect that ARichEdit.Lines[i + 1] will
// belong to paragraph number 6???
end;