helix-mods/helix-term/src/ui
Gokul Soumya 16ccc7ead8
Add single width left margin for completion popup (#2728)
* Add single width left margin for completion popup

* Clear with ui.menu style before rendering menu

When rendering a completion popup, the popup component will clear
the area with ui.popup and then the menu component would draw over
it using a table component. We remove the left edge of the area
before passing it to the table component (so that it will be left
as padding), and the table component uses ui.menu as the style.
If ui.menu and ui.popup are different the left edge of the popup
will look different from the rest of the popup. We avoid this by
clearing the whole area with ui.menu in Menu::render
2022-06-26 17:56:35 +09:00
..
completion.rs Restore document state on completion cancel (#2096) 2022-04-20 10:42:33 +09:00
editor.rs check selection's visible width when copying on mouse click (#2711) 2022-06-24 22:58:04 +09:00
info.rs Refactor Margin for fine grained control (#2727) 2022-06-22 01:52:08 +09:00
markdown.rs Refactor Margin for fine grained control (#2727) 2022-06-22 01:52:08 +09:00
menu.rs Add single width left margin for completion popup (#2728) 2022-06-26 17:56:35 +09:00
mod.rs Remove a couple more unwraps 2022-06-22 02:26:24 +09:00
overlay.rs Add PageUp, PageDown, Ctrl-u, Ctrl-d, Home, End keyboard shortcuts to file picker (#1612) 2022-02-15 10:24:03 +09:00
picker.rs Refactor Margin for fine grained control (#2727) 2022-06-22 01:52:08 +09:00
popup.rs Refactor Margin for fine grained control (#2727) 2022-06-22 01:52:08 +09:00
prompt.rs fixes showing the last prompt on empty input (#2870) 2022-06-24 17:14:48 +02:00
spinner.rs Instant is more suitable than SystemTime for spinners 2022-02-10 11:12:47 +09:00
text.rs fix: Allow multi-line prompt documentation 2022-02-20 14:44:44 +09:00