Lock the smart-lock before using smart-ranges, preventing a possible crash/assertion
Lock the smart-lock before using smart-ranges, preventing a possible crash/assertion

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

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