Code Editor : delegate