fix: Crashes when using static word wrap and trying to wrap a tab character
fix: Crashes when using static word wrap and trying to wrap a tab character

KateEditInfo's translate() was wrong if a new line was NOT added. We have to
handle the two cases separately: word wrap with new line inserted and word
wrap without new line inserted

BUG: 158336

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

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