https://bugs.kde.org/show_bug.cgi?id=363269

Sven Brauch <m...@svenbrauch.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |m...@svenbrauch.de

--- Comment #20 from Sven Brauch <m...@svenbrauch.de> ---
Thanks for looking. You are indeed right -- .txt files are treated as cmake in
some cases. I also poked around a bit, when it does not find a language for a
file it looks at the contents, guesses the mime type, and caches that. So when
you open CMakeLists.txt, after that all .txt files will be treated as CMake.
That is a bug, and needs to be fixed. The relevant code is, I think, in
languagecontroller.cpp:310ff.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to