some fixes (bug #143154)
some fixes (bug #143154)

svn path=/trunk/KDE/kdelibs/kate/; revision=643783

DickJ/kate,hlamer/kate,hlamer/kate,cmacq2/kate,DickJ/kate,hlamer/kate,DickJ/kate,hlamer/kate,jfmcarreira/kate,DickJ/kate,hlamer/kate,hlamer/kate,sandsmark/kate,cmacq2/kate,hlamer/kate,sandsmark/kate,hlamer/kate,jfmcarreira/kate,jfmcarreira/kate,hlamer/kate,sandsmark/kate,sandsmark/kate,cmacq2/kate,hlamer/kate