asottile / babi

a text editor
MIT License
396 stars 46 forks source link

adjust search start index when replacing on original line #350

Closed SilenZcience closed 3 weeks ago

SilenZcience commented 2 months ago

fix #349 + added test

asottile commented 3 weeks ago

I simplified your change a bit and made the commit message describe what was being changed because on its own "fix replace all bug" did not help a reader understand what was happening!