kwrite-version: 15.08.2 I have a txt-File with some notices (and some more "-" for numerations at line beginnings). When I open this file, edit it, and save it, it is suddenly syntax-highlighted wrong in "diff"-file-mode. I found no option to deactivate this wrong behaviour? Reproducible: Always
Could you attach an example file?
Created attachment 99771 [details] this is highlighted as diff file on save
Blimey, you are right. Arch Linux 64-bit Kate 16.04.2 KDE Frameworks 5.23.0 Qt 5.7 xcb wm
Git commit 43e478ec087c26bb0c1e31a95f2ef7fa98530811 by Christoph Cullmann. Committed on 05/09/2016 at 21:08. Pushed by cullmann into branch 'master'. improve mime-type detection M +16 -32 src/document/katedocument.cpp M +2 -12 src/document/katedocument.h M +5 -7 src/mode/katemodemanager.cpp http://commits.kde.org/ktexteditor/43e478ec087c26bb0c1e31a95f2ef7fa98530811