Implementation for the editor for code.