Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Macros (#1234) | Omnikar | 2021-12-12 |
| | | | | | | | | | | | | | | | | | | | | | | | | * Macros WIP `helix_term::compositor::Callback` changed to take a `&mut Context` as a parameter for use by `play_macro` * Default to `@` register for macros * Import `KeyEvent` * Special-case shift-tab -> backtab in `KeyEvent` conversion * Move key recording to the compositor * Add comment * Add persistent display of macro recording status When macro recording is active, the pending keys display will be shifted 3 characters left, and the register being recorded to will be displayed between brackets — e.g., `[@]` — right of the pending keys display. * Fix/add documentation | ||
* | fix: Normalize backtab into shift-tab | Blaž Hrastnik | 2021-12-06 |
| | | | | Fixes #1150 | ||
* | fix: shift-tab mappings broken after efc2b4c7 | Blaž Hrastnik | 2021-11-12 |
| | |||
* | Refactor keyevent handling using key, ctrl macros (#1058) | Gokul Soumya | 2021-11-10 |
| | | | | | | Adds ctrl! and alt! macros (which existed before the big keymap refactor) and uses them in event handling of Components. Note that this converts crossterm's KeyEvent to our own KeyEvent on each invocation of handle_event in Components. | ||
* | move_up will select last item, when no item selected (#907) | CossonLeo | 2021-10-26 |
| | |||
* | Add c-j c-k to menu keymap for move_up move_down (#908) | CossonLeo | 2021-10-26 |
| | |||
* | Update to rust 1.56 + 2021 edition | Blaž Hrastnik | 2021-10-22 |
| | |||
* | fix: If backspacing past the start offset, cancel completion | Blaž Hrastnik | 2021-10-16 |
| | | | | Refs #822 | ||
* | ui: Trigger recalculate_size per popup render so contents can readjust | Blaž Hrastnik | 2021-09-13 |
| | |||
* | Add ui.menu text style (#664) | CossonLeo | 2021-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 Soumya | 2021-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 Soumya | 2021-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 completions | Blaž Hrastnik | 2021-08-11 |
| | |||
* | ui: menu: Allow wrapping around on ctrl-p/shift tab | Blaž Hrastnik | 2021-08-06 |
| | |||
* | fix: ui/menu: Don't allow scrolling past the end of completion | Blaž Hrastnik | 2021-07-23 |
| | | | | Fixes #472 | ||
* | Simplify ui/menu.rs | Blaž Hrastnik | 2021-07-23 |
| | |||
* | Calculate completion popup sizing | Blaž Hrastnik | 2021-07-19 |
| | | | | Fixes #220 | ||
* | Fix unused variable, parameter, and `mut` warnings in helix-term. | Nathan Vegdahl | 2021-07-02 |
| | |||
* | Remove #[allow(unused)] from helix-term, and fix unused imports. | Nathan Vegdahl | 2021-07-02 |
| | | | | Lots of other warning still left. Will address in subsequent commits. | ||
* | Address nightly clippy warnings | Blaž Hrastnik | 2021-06-27 |
| | |||
* | reverse the dependency between helix-tui and helix-view (#366) | Keith Simmons | 2021-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 menu | Kevin Sjöberg | 2021-06-09 |
| | |||
* | ui: Menu rendering adjustments | Blaž Hrastnik | 2021-05-27 |
| | |||
* | Display more data in completion popups. | Blaž Hrastnik | 2021-05-22 |
| | |||
* | Drop some useless imports. | Blaž Hrastnik | 2021-05-09 |
| | |||
* | Simplify the compositor callback. | Blaž Hrastnik | 2021-05-09 |
| | |||
* | Define text color (mostly) in theme.toml. | Blaž Hrastnik | 2021-05-07 |
| | |||
* | clippy lint | Blaž Hrastnik | 2021-05-06 |
| | |||
* | ui: Improve completion state handling. | Blaž Hrastnik | 2021-04-05 |
| | |||
* | clippy lint | Blaž Hrastnik | 2021-03-31 |
| | |||
* | Filter the completion menu based on text entered. | Blaž Hrastnik | 2021-03-27 |
| | |||
* | Fix crash if pressing enter when nothing selected in completion. | Blaž Hrastnik | 2021-03-24 |
| | |||
* | Merge some imports. | Blaž Hrastnik | 2021-03-22 |
| | |||
* | syntax: Reuse parser instances. highlight_iter() no longer needs &mut. | Blaž Hrastnik | 2021-03-12 |
| | |||
* | ui: menu: Adjust scroll via required_size area caching. | Blaž Hrastnik | 2021-03-08 |
| | |||
* | ui: Move terminal into compositor, redo required_size hints. | Blaž Hrastnik | 2021-03-08 |
| | |||
* | ui: Scrollable popup menu, with scrollbar indicator. | Blaž Hrastnik | 2021-03-03 |
| | |||
* | ui: Share popup code with menu. | Blaž Hrastnik | 2021-03-02 |
| | | | | Menu is now just wrapped in a popup. | ||
* | popup: wip work on completion popups | Blaž Hrastnik | 2021-02-09 |