Selects all the contents of a RichTextEdit control including any special characters such as a carriage return (CR), line feel (LF), and end-of-file (EOF).
RichTextEdit and DataWindow controls
rtename.SelectTextAll ( { band } )
Integer. Returns the number of characters selected. If an error occurs, SelectTextAll returns -1.