[vim/vim] wincol() is wrong for a double-wide character with 'rightleft' (after 9.2.0791) (PR #20785)

3 views
Skip to first unread message

h_east

unread,
10:34 AM (7 hours ago) 10:34 AM
to vim/vim, Subscribed
Problem:  With 'rightleft' set and the cursor on a double-wide character,
          wincol() returns the column one to the right of where the cursor
          actually is.
Solution: Take the width of the character under the cursor into account,
          like the cursor positioning already does.

related: #20763


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

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

Commit Summary

  • de98eb9 wincol() is wrong for a double-wide character with 'rightleft' (after 9.2.0791)

File Changes

(4 files)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/20785@github.com>

Christian Brabandt

unread,
12:57 PM (5 hours ago) 12:57 PM
to vim/vim, Subscribed
chrisbra left a comment (vim/vim#20785)

thanks


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

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

Reply all
Reply to author
Forward
0 new messages