cleanup the editing mode for C/C++ source files