Add an important assertion. editEnd() must always be called exactly as often as editStart(). When that is not the case, it can lead to random crashes, because it defeats the smart mutex protection.
Add an important assertion. editEnd() must always be called exactly as often as editStart(). When that is not the case, it can lead to random crashes, because it defeats the smart mutex protection.

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

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