implement rich textbox

Signed-off-by: Blaise Fonseca <blaisefonseca@hotmail.com>