呀,来晚了,该说的别人都说了,
我以前的一个例子:
procedure newrich.ontextChange(sender:tobject);
begin
if lines.count>83 then
begin
while lines.count>83 do
begin
sendmessage(handle,wm_setredraw,0,0);
lines.delete(0);
sendmessage(handle,wm_setredraw,1,0);
end;
selstart:=length(text);
end;
end;