Is that file a constant one or kate randomly truncates txt files?
I made several copies of the same file, so the file was constant regarding its content. But I can't no longer experiment.
The problem disappeared after a lot of edit/save cycles made on another workstation running an older version of KDE.
So we'll never know what happened. Maybe content related ?
Thank you anyway for your reply.