summaryrefslogtreecommitdiff
path: root/theme.toml
diff options
context:
space:
mode:
authorGokul Soumya2021-11-29 01:33:53 +0000
committerGitHub2021-11-29 01:33:53 +0000
commitdc53e65b9e9be71c49eaa86e0f4dabb69f586e2e (patch)
tree33dac12d972639c40ff5a3518141e919e68045d8 /theme.toml
parent1d773bcefb40f69fe31dc048bfbdd83601fe0e62 (diff)
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.
Diffstat (limited to 'theme.toml')
0 files changed, 0 insertions, 0 deletions