How to add Wysiwyg editor in Magento custom module

How to add Wysiwyg editor in Magento custom module

Considering custom module Custom_Demo

Add following function in Custom_Demo_Block_Adminhtml_Demo_Edit

Then use as in grid from Custom_Demo_Block_Adminhtml_Demo_Edit_Tab_Form