fix crash when KateTemplateHandler::slotTextInserted is called outside an edit
fix crash when KateTemplateHandler::slotTextInserted is called outside an edit

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

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