I'll attach a file as example. What i do: * Open the file * Highlighting is set by default to C++ * Go to menu and select C++/Qt4 higlighting * See that highlighting is nicer * Close the file * Open the file * See that highlighting is still nicer * Go to menu and verify C++/Qt4 higlighting is still selected * Add a space to the first line (or do any other edit) * Save the file * See that highlighting is not nice anymore * See that Highlight is back to to C++
Created attachment 85750 [details] The file for testing
*** Bug 319412 has been marked as a duplicate of this bug. ***
*** Bug 314379 has been marked as a duplicate of this bug. ***
Git commit 36a130a38918202590152591f2caa693a313dbce by Christoph Cullmann. Committed on 08/10/2015 at 07:46. Pushed by cullmann into branch 'master'. CHANGELOG: remember if highlighting was set by user over sessions to not loose it on save after restore M +7 -1 src/document/katedocument.cpp http://commits.kde.org/ktexteditor/36a130a38918202590152591f2caa693a313dbce