[vim/vim] Wrong cursor position with 'linebreak' and large 'tabstop' (PR #21418)

2 views
Skip to first unread message

zeertzjq

unread,
4:50 AM (6 hours ago) 4:50 AM
to vim/vim, Subscribed

What does this change do?

Before (cursor on 'r'):

TODO

After (cursor on 'r'):

TODO

Commit message

Problem: Wrong cursor position with 'linebreak' and large 'tabstop'.
Solution: Avoid "colmax" becoming smaller than the whitespace char's
final column (zeertzjq).

AI assistance

  • No AI was used

Checklist

  • The commit message follows the Problem/Solution form above
  • Signed-off-by: trailer is present (git commit -s), recommended but not required
  • Tests were added
  • No documentation update is needed

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

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

Commit Summary

  • e54e8dd Wrong cursor position with 'linebreak' and large 'tabstop'

File Changes

(2 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/21418@github.com>

Reply all
Reply to author
Forward
0 new messages