RichMemo
The RichMemo component was introduced to provide rich text editting abilities. The component is based on the system native control.
You can read more about it on freepascal wiki.
Code
Public Repository: https://lazarus-ccr.svn.sourceforge.net/svnroot/lazarus-ccr/components/richmemo