[vim/vim] Cmdline pum doesn't work properly with 'rightleft' (PR #15005)

6 views
Skip to first unread message

zeertzjq

unread,
Jun 14, 2024, 10:14:55 PM (13 days ago) Jun 14
to vim/vim, Subscribed

Problem: Cmdline pum doesn't work properly with 'rightleft'.
Solution: Don't use curwin->w_p_rl in cmdline mode in pum_redraw(). Use
a static variable since pum_may_redraw() may be called in any
mode. Also correct positioning of :popup with 'rightleft' and
add test for 'balloonevalterm' with 'rightleft'.


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

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

Commit Summary

  • 148923d Cmdline pum doesn't work properly with 'rightleft'

File Changes

(9 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/15005@github.com>

zeertzjq

unread,
Jun 14, 2024, 10:16:30 PM (13 days ago) Jun 14
to vim/vim, Push

@zeertzjq pushed 1 commit.

  • 78fd00f Cmdline pum doesn't work properly with 'rightleft'


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/15005/before/148923d13a8da7d04103a9a0248173ce1c2732b8/after/78fd00f793d387b7052407d7a365ac2aed95d3c2@github.com>

zeertzjq

unread,
Jun 14, 2024, 10:21:09 PM (13 days ago) Jun 14
to vim/vim, Push

@zeertzjq pushed 1 commit.

  • 1695590 Cmdline pum doesn't work properly with 'rightleft'

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/15005/before/78fd00f793d387b7052407d7a365ac2aed95d3c2/after/169559060e5635e33bb7c268c08e85c88ece8604@github.com>

zeertzjq

unread,
Jun 14, 2024, 10:27:33 PM (13 days ago) Jun 14
to vim/vim, Push

@zeertzjq pushed 1 commit.

  • 147004c Cmdline pum doesn't work properly with 'rightleft'

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/15005/before/169559060e5635e33bb7c268c08e85c88ece8604/after/147004c0fd07d582d656d41ffae39e5f7202ac64@github.com>

zeertzjq

unread,
Jun 14, 2024, 10:29:06 PM (13 days ago) Jun 14
to vim/vim, Push

@zeertzjq pushed 1 commit.

  • a00f257 Cmdline pum doesn't work properly with 'rightleft'

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/15005/before/147004c0fd07d582d656d41ffae39e5f7202ac64/after/a00f257551c1ab91f4f6786b3ba85e02a217c5d9@github.com>

zeertzjq

unread,
Jun 14, 2024, 10:34:49 PM (13 days ago) Jun 14
to vim/vim, Subscribed

For right-click menu and 'balloonevalterm', using the value of 'rightleft' may not be ideal either, but I'll keep the old behavior of taking 'rightleft' into account in this PR and only correct the positioning. For cmdline completion using 'rightleft' doesn't make sense as the cmdline is always left-to-right.


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/15005/c2169062387@github.com>

Christian Brabandt

unread,
Jun 15, 2024, 9:37:42 AM (12 days ago) Jun 15
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/15005/c2169637213@github.com>

Christian Brabandt

unread,
Jun 15, 2024, 9:38:55 AM (12 days ago) Jun 15
to vim/vim, Subscribed

Closed #15005 via 883018f.


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/15005/issue_event/13169201796@github.com>

Reply all
Reply to author
Forward
0 new messages