fix the warnings
fix the update function bug of edit widget
fix the rtgui_edit_insert_line function bug of which can not insert when edit is empty
fix the rtgui_edit_delete_line function bug for delete the first line
declare function for the edit widget
widgets/edit: format code