- Body.Find( LastTxt, LastIdx );
- OldCnt := LastIdx + 1;
- if ThreadItem.Kokomade > 0 then begin
- Body.Find( KokoTxt, KokoIdx );
- ThreadItem.Kokomade := KokoIdx + 1;
- end;
- if ThreadItem.NewReceive > 0 then begin
- Body.Find( NewTxt, NewIdx );
- Inc( NewIdx );
- ThreadItem.AllResCount := NewIdx;
- if OldCnt >= NewIdx then
- NewRes := Body.Count - OldCnt
- else
- NewRes := Body.Count - NewIdx;