1.SelectAll 可以实现全选功能Delphi/Pascal codeedit1.SelectAll;//Delphi/Pascal codeRichEdit1.SelStart:=0;RichEdit1.SelectAll;