return correct range for all three visual modes
return correct range for all three visual modes

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

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