Saving a C++ file in a non-C++ project triggered an exception.
Merge pull request #21 from Dmitry-Me/exceptiononsavingcppfilesinnoncppprojects

Saving a C++ file in a non-C++ project triggered an exception.