[codeeditor] cleaning code