Revision ae73587...

Go back to digest for 2nd January 2011

Optimization in Development Tools

David Nolden committed changes in [KDevPlatform] /shell/languagecontroller.cpp:

* Recognize too long extensions or purely numeric extensions as no extensions at all (only for the cache)
* When we haven't recognized an extension, don't allow looking up the language using the contents, because else, we may end up synchronously reading the contents of thousands of files, completely blocking the app.

File Changes

Modified 1 files
  • /shell/languagecontroller.cpp
1 files changed in total