But I've not found .InsertText nor anything like this in TppRichView (the rich view for ReportBuilder).
I'd know if in fact there's no way to do this directly in TppRichView. If no then I'll use an invisible TRichViewEdit, replace the text using the idea existing in the demo, and at last save the RVF from TRichViewEdit to TppRichView.
There are many mailmerge demos (you can see them all here: http://www.trichview.com/forums/viewtopic.php?t=8 ), and none of them requires editor or InserText method. All of them work with TRichView (and TRichView object is accessible as ppRichView.RichView)
//Go to begin
Item := 0;
Off := rveTexto.GetOffsBeforeItem(Item);
rveTexto.SetSelectionBounds(Item,Off,Item,Off);
//Replace
while rveTexto.SearchText(Old, [rvseoDown]) do
rveTexto.InsertText(New);
Is there any way as simple as this to do the same using RichView?
It's not necessary to understand mail-merge demos code completely. Usually, you can just copy the main procedure (FillFields) in you project without changes.
Or, as you suggested initially, use a hidden richviewedit. It's ok, but much slower.