If this still occurs in the latest kate (3.1.1, distributed with KDE 4.1.1) it should be reported upstream at bugs.kde.org and the bug report linked here.
If this still occurs in the latest kate (3.1.1, distributed with KDE 4.1.1) it should be reported upstream at bugs.kde.org and the bug report linked here.