Revised "smart end" behavior:
Revised "smart end" behavior:

1. End of current visual line (only applicable when current line has wrapped)
2. Real end of current line
3. Last non-space character on current line

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

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