Data-aware RichEdit

The book 'Secrets of Delphi 2' contains the source code for and a
discussion of the workings of a data aware rich text edit component.