Be more careful when deleting ranges: remove the watcher first as otherwise lists that are currently being iterated through can be modified through 'rangeDeleted'.
Be more careful when deleting ranges: remove the watcher first as otherwise lists that are currently being iterated through can be modified through 'rangeDeleted'.

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

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