And a little more research.
If I have this
procedure TForm1.Button1Click(Sender: TObject);
var
fholder: TFileStream;
begin
try
fholder := TFileStream.Create('/Users/user/Documents/richfiletest.rtf', fmCreate);
RichMemo1.SaveRichText(fholder);
finally
fholder.free;
end;
end;
I write some text in the richmemo, and click the button.
No errors reported, but when I try to open the file in Finder I get "The document “richfiletest” could not be opened."
And if I open that file in Sublime, it shows up as an empty file.