Code Editor : statechange.subr