ehamberg: fix crash when typing past end of line in replace mode
ehamberg: fix crash when typing past end of line in replace mode

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

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