Repository navigation
v0.2.0
Menus, dialogs and tooltips over a WebView, the held prefix of a key sequence and what can follow it, find in a text field, and app shortcuts from inside a WebView2 page.
New
ui::coverrecords the rectangles overlays cover during prepaint, each stamped with its place in the frame's prepaint order.cover::marktakes a place andcover::coveredanswers whether a cover recorded after it overlaps a rectangle in the frame being drawn. Everyui::surface::Surfacecard (popover layers, menus, dialogs, tooltips, hover cards) and the dialog and sheet scrims record themselves;cover::cover()records its parent's box for anything else an app floats, such as a drag preview. A cover in a view gpui reuses from the last frame (AnyView::cached) is not recorded.- A
WebViewwith a cover recorded after it is parked. On macOS a still of the page, taken while it is still up, is painted in its place, and the page stays over the cover until the still arrives; elsewhere the place is left empty.browser::Framehides its iframe. The page comes back live once nothing covers it. ui::pending::PendingKeysshows the prefix of a key sequence gpui is holding and the continuations the keymap binds after it, and renders nothing while no sequence is pending.with_labelnames each continuation's action; the default is the action's name without its namespace, split into words.TextField::selectselects a byte range and scrolls it into view with the caret at its end.TextField::set_matcheswashes byte ranges behind the text as search matches, cleared byset_contentand not kept in step with edits.- On Windows a key a WebView2 page takes with ctrl or alt held, or a function key, goes to gpui's key dispatch in place of the page when the keymap binds it, alone or as the start of a sequence, in the view's key context.
Changed
bezel-browserdepends onbezel-ui.