[vim/vim] screenpos() "curscol" is wrong with 'rightleft' (PR #20786)

3 views
Skip to first unread message

h_east

unread,
1:28 PM (5 hours ago) 1:28 PM
to vim/vim, Subscribed
Problem:  With 'rightleft' set, the "curscol" value of screenpos() does not
          point to the screen column where the cursor is placed.
Solution: Count "curscol" from the left side of the window, leaving "col"
          and "endcol" as reading-order columns.

related: #20763


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

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

Commit Summary

  • 21b1e89 screenpos() "curscol" is wrong with 'rightleft'

File Changes

(3 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/20786@github.com>

Reply all
Reply to author
Forward
0 new messages