Code Editor : cur_state