Use int instead of uint to iterate in "nextNonSpaceChar" and "previousNonSpaceChar" because the index can be negative in "previousNonSpaceChar".
Use int instead of uint to iterate in "nextNonSpaceChar" and "previousNonSpaceChar"
because the index can be negative in "previousNonSpaceChar".

svn path=/trunk/kdelibs/kate/; revision=153169

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