fix for unexpected point movement

bug fixed: point moves to previous char when called at whitespace-only line
Merge pull request #225 from 4ourbit/patch-1

fix for unexpected point movement