martanne / vis

A vi-like editor based on Plan 9's structural regular expressions
Other
4.19k stars 259 forks source link

Fix for #1028 #1057

Closed jvvv closed 11 months ago

jvvv commented 1 year ago

Partial revert of f55312b.

text_paragraph_prev(): Bring back the previous usage of text_iterator_byte_get() in the while conditional and text_iterator_char_prev() in the loop body.

Fixes #1028

rnpnr commented 11 months ago

Applied in e728898. Thanks for the patch!

Small tip for next time: if you make your patch on a separate branch I can force push it after rebasing on master. Then github will auto close this as "Merged".

jvvv commented 11 months ago

Thanks for the tip about using a separate branch. Will keep that in mind next time.