I would really like to use the super functionnality of mergefields in RichEditor.
However some how I am not in control of the caret after inserting the field. After inserting the letters describing the mergefield and now typing in a new Charecter it appers within the boundaries of the merge field even though the caret is outside!
My code is
TMSFNCRichEditor1.InsertText('name');
TMSFNCRichEditor1.SelectWordAtCaret;
TMSFNCRichEditor1.SetSelectionMergeField('name');
TMSFNCRichEditor1.UnSelect;