Rework Buffer::distance implementation
Rework Buffer::distance implementation

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