On 5/14/25 11:58 PM, David C Rankin via tde-users wrote:
You are talking about the entries in your user config, e.g.
~/.tde/share/apps/kate/sessions/<hexstring>.session
and then, e.g.:
[Document 2] Bookmarks= Encoding=UTF-8 Highlighting=C++ ^^^^^^^^^^^^^^^^ Indentation Mode=1 URL=file:///home/david/dev/src-cpp/io/pipe/graphics-vencor-lspci.cpp
I don't use sessions and the file I am referring is $TDEHOME/share/apps/kate/sessions/metainfos.
One question, is the "Highlighting=xyz" the native highlighting chosen for the file by katepart or is it manually set via Tools->Highlight->foo?
By me. I manually set the highlighting from the Tools-Highlighting menu.
At least with kde3, I've not had any luck with the session setting non-standard highlight syntax from the .session file unless I've also edited the Settings->Editor->Highlighting->File extensions: and set a file glob (not necessarily the extension) to match the file.
I had considered manually adding the problematic files but there is definitely a bug here somewhere, either in the code or in my usage or perception.
Confusing to me is as I shared earlier, I have verified the syntax highlighting in the metainfos file. The file is correctly configured but upon opening the file reverts to plain text and I again have to manually use Tools->Highlighting to restore.