the mode in C++ documents is actually 'C_CPP', not null, for C/C++ mode
add menu item for editing target widget