Adds a new "clipwindow" boolean option for popup_create()/popup_setoptions(). When set on a textprop-anchored popup, the popup's drawn extent is confined to its host (textprop) window's content rectangle, so it no longer bleeds across a horizontal split's statusline or a vsplit's separator into another window.
The popup keeps its full logical size and position; only the rows or columns that fall outside the host window's content area are skipped at draw time. As the textprop scrolls toward the host's edge the popup looks visually "cut off" without its borders being relocated, and is hidden once it has fully scrolled past. popup_getoptions() and popup_getpos() continue to report the unclipped geometry.
https://github.com/vim/vim/pull/20166
(6 files)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.![]()
@mattn pushed 1 commit.
—
View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()