helix-mods/helix-core
Gokul Soumya dc53e65b9e
Fix surround cursor position calculation (#1183)
Fixes #1077. This was caused by the assumption that a block
cursor is represented as zero width internally and simply
rendered to be a single width selection, where as in reality
a block cursor is an actual single width selection in form and
function.

Behavioural changes:

1. Surround selection no longer works when cursor is _on_ a
    surround character that has matching pairs (like `'`
    or `"`). This was the intended behaviour from the start
    but worked till now because of the cursor position
    calculation mismatch.
2021-11-29 10:33:53 +09:00
..
src Fix surround cursor position calculation (#1183) 2021-11-29 10:33:53 +09:00
.gitignore Initial import. 2020-05-20 18:14:51 +09:00
Cargo.toml Release v0.5.0 2021-10-28 16:41:34 +09:00