Only restore cursor position after an append if we still have cursor > anchor
Only restore cursor position after an append if we still have cursor > anchor

Fixes #1158

mawww/kakoune,occivink/kakoune,Somasis/kakoune,ekie/kakoune,danr/kakoune,mawww/kakoune,jjthrash/kakoune,alexherbo2/kakoune,jjthrash/kakoune,lenormf/kakoune,alexherbo2/kakoune,Somasis/kakoune,casimir/kakoune,casimir/kakoune,occivink/kakoune,Somasis/kakoune,occivink/kakoune,mawww/kakoune,mawww/kakoune,jkonecny12/kakoune,lenormf/kakoune,casimir/kakoune,casimir/kakoune,ekie/kakoune,jkonecny12/kakoune,jjthrash/kakoune,danr/kakoune,jkonecny12/kakoune,danr/kakoune,Somasis/kakoune,occivink/kakoune,jkonecny12/kakoune,ekie/kakoune,alexherbo2/kakoune,jjthrash/kakoune,ekie/kakoune,lenormf/kakoune,lenormf/kakoune,danr/kakoune,alexherbo2/kakoune