Files
neovim/test/functional
glepnir 450ba41436 fix(api): adjust Visual position after nvim_buf_set_text #30690
Problem:
Visual selection could end up in the wrong place after
nvim_buf_set_text or nvim_buf_set_lines. In some delete cases,
Visual.lnum was already clamped before the line shift happened, so the
adjustment got skipped.

Solution:
Split fix_cursor_cols into reusable fix_pos_col logic and reuse it
for Visual updates. Also adjust Visual.lnum before changed_lines so
the shift uses the original position before final clamping.
2026-05-18 13:08:26 -04:00
..
2026-05-17 10:02:12 -04:00
2026-05-13 13:14:07 +01:00
2026-05-07 10:36:48 +02:00
2026-04-25 11:16:18 -04:00
2026-05-18 10:45:21 -04:00