[vim/vim] getregionpos() doesn't handle selection contained in one char (PR #14825)

12 views
Skip to first unread message

zeertzjq

unread,
May 22, 2024, 12:20:07 AMMay 22
to vim/vim, Subscribed

Problem: getregionpos() doesn't handle selection contained in one char.
Solution: Handle startspaces differently when is_oneChar is set.
Also add a test for an exclusive charwise selection with
multibyte chars.


You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/14825

Commit Summary

  • 6cd830f getregionpos() doesn't handle selection contained in one char

File Changes

(4 files)

Patch Links:


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/14825@github.com>

Christian Brabandt

unread,
May 22, 2024, 10:42:34 AMMay 22
to vim/vim, Subscribed

thanks!


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/14825/c2124979749@github.com>

Christian Brabandt

unread,
May 22, 2024, 10:45:09 AMMay 22
to vim/vim, Subscribed

Closed #14825 via 52a6f34.


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/14825/issue_event/12895864947@github.com>

Reply all
Reply to author
Forward
0 new messages