TODO: text editor done. We also should text it and review all code, so this task move to tip 3.