aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/ui/menu.rs
Commit message (Collapse)AuthorAge
* fix: If backspacing past the start offset, cancel completionBlaž Hrastnik2021-10-16
| | | | Refs #822
* ui: Trigger recalculate_size per popup render so contents can readjustBlaž Hrastnik2021-09-13
|
* Add ui.menu text style (#664)CossonLeo2021-08-28
| | | | | | | | | * add menu text style * add ui.menu.text ui.info ui.info.text to book * change ui.menu.text to ui.menu * fix book's ui.menu
* Refactor new Rect construction (#575)Gokul Soumya2021-08-21
| | | | | | | | | | * Refactor new Rect construction Introduces methods that can be chained to construct new Rects out of pre-existing ones * Clamp x and y to edges in Rect chop methods * Rename Rect clipping functions
* Show file preview in split pane in fuzzy finder (#534)Gokul Soumya2021-08-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add preview pane for fuzzy finder * Fix picker preview lag by caching * Add picker preview for document symbols * Cache picker preview per document instead of view * Use line instead of range for preview doc * Add picker preview for buffer picker * Fix render bug and refactor picker * Refactor picker preview rendering * Split picker and preview and compose The current selected item is cloned on every event, which is undesirable * Refactor out clones in previewed picker * Retrieve doc from editor if possible in filepicker * Disable syntax highlight for picker preview Files already loaded in memory have syntax highlighting enabled * Ignore directory symlinks in file picker * Cleanup unnecessary pubs and derives * Remove unnecessary highlight from file picker * Reorganize buffer rendering * Use normal picker for code actions * Remove unnecessary generics and trait impls * Remove prepare_for_render and make render mutable * Skip picker preview if screen small, less padding
* ui: completion: Use sort_text to sort the completionsBlaž Hrastnik2021-08-11
|
* ui: menu: Allow wrapping around on ctrl-p/shift tabBlaž Hrastnik2021-08-06
|
* fix: ui/menu: Don't allow scrolling past the end of completionBlaž Hrastnik2021-07-23
| | | | Fixes #472
* Simplify ui/menu.rsBlaž Hrastnik2021-07-23
|
* Calculate completion popup sizingBlaž Hrastnik2021-07-19
| | | | Fixes #220
* Fix unused variable, parameter, and `mut` warnings in helix-term.Nathan Vegdahl2021-07-02
|
* Remove #[allow(unused)] from helix-term, and fix unused imports.Nathan Vegdahl2021-07-02
| | | | Lots of other warning still left. Will address in subsequent commits.
* Address nightly clippy warningsBlaž Hrastnik2021-06-27
|
* reverse the dependency between helix-tui and helix-view (#366)Keith Simmons2021-06-25
| | | | | | | | | * reverse the dependency between helix-tui and helix-view by moving a fiew types to view * fix tests * clippy and format fixes Co-authored-by: Keith Simmons <keithsim@microsoft.com>
* Fix Shift-Tab for moving upwards in menuKevin Sjöberg2021-06-09
|
* ui: Menu rendering adjustmentsBlaž Hrastnik2021-05-27
|
* Display more data in completion popups.Blaž Hrastnik2021-05-22
|
* Drop some useless imports.Blaž Hrastnik2021-05-09
|
* Simplify the compositor callback.Blaž Hrastnik2021-05-09
|
* Define text color (mostly) in theme.toml.Blaž Hrastnik2021-05-07
|
* clippy lintBlaž Hrastnik2021-05-06
|
* ui: Improve completion state handling.Blaž Hrastnik2021-04-05
|
* clippy lintBlaž Hrastnik2021-03-31
|
* Filter the completion menu based on text entered.Blaž Hrastnik2021-03-27
|
* Fix crash if pressing enter when nothing selected in completion.Blaž Hrastnik2021-03-24
|
* Merge some imports.Blaž Hrastnik2021-03-22
|
* syntax: Reuse parser instances. highlight_iter() no longer needs &mut.Blaž Hrastnik2021-03-12
|
* ui: menu: Adjust scroll via required_size area caching.Blaž Hrastnik2021-03-08
|
* ui: Move terminal into compositor, redo required_size hints.Blaž Hrastnik2021-03-08
|
* ui: Scrollable popup menu, with scrollbar indicator.Blaž Hrastnik2021-03-03
|
* ui: Share popup code with menu.Blaž Hrastnik2021-03-02
| | | | Menu is now just wrapped in a popup.
* popup: wip work on completion popupsBlaž Hrastnik2021-02-09