summaryrefslogtreecommitdiff
path: root/helix-term/src
Commit message (Collapse)AuthorAge
* dap: Avoid cloning old_breakpoints if we are immediately replacing themBlaž Hrastnik2021-11-07
|
* dap: Avoid cloning *entire* stack frames when picking a threadBlaž Hrastnik2021-11-07
|
* dap: Simplify more callsBlaž Hrastnik2021-11-07
|
* dap: Get rid of excessive cloningBlaž Hrastnik2021-11-07
|
* dap: Inline empty completerBlaž Hrastnik2021-11-07
|
* dap: Fully extract template parameter promptsBlaž Hrastnik2021-11-07
|
* Make picker take the whole context, not just editorBlaž Hrastnik2021-11-07
|
* dap: Extract out variable renderingBlaž Hrastnik2021-11-07
| | | | Will improve on the UI later
* If there is no live debugger, treat breakpoints as unverifiedBlaž Hrastnik2021-11-06
|
* Fix compilationBlaž Hrastnik2021-11-06
|
* dap: Enable sticky mode for the submodeBlaž Hrastnik2021-11-06
|
* dap: Move template selection into a pickerBlaž Hrastnik2021-11-06
| | | | It's time to move all these components out of ui/editor.rs
* Merge branch 'master' into debugBlaž Hrastnik2021-11-06
|\
| * Specify vector capacity on surround_addBlaž Hrastnik2021-11-06
| |
| * Simplify current!(..).1 into doc!()Blaž Hrastnik2021-11-06
| |
| * Simplify goto_*_diagnostic commandsBlaž Hrastnik2021-11-06
| |
| * minor: view!(..).doc is slightly more efficient than current!(..).1.id()Blaž Hrastnik2021-11-06
| |
| * minor: Extend search was decclared twice in the keymapBlaž Hrastnik2021-11-06
| |
| * Retain range direction on searchBlaž Hrastnik2021-11-06
| | | | | | | | Co-authored-by: CossonLeo <20379044+cossonleo@users.noreply.github.com>
| * Implement Selection::replace to replace a single rangeBlaž Hrastnik2021-11-06
| | | | | | | | | | | | Fixes #985 Co-authored-by: Daniel S Poulin <crimsonmage+github@gmail.com>
| * Add reverse search functionality (#958)Gygaxis Vainhardt2021-11-06
| | | | | | | | | | | | | | | | | | | | | | | | | | * Add reverse search functionality * Change keybindings for extend to be in select mode, incorporate Movement and Direction enums * Fix accidental revert of #948 in rebase * Add reverse search to docs, clean up mismatched whitespace * Reverse search optimization * More optimization via github feedback
| * Allow infoboxes to be disabled (#972)Omnikar2021-11-05
| | | | | | | | | | | | | | | | | | | | | | * Allow infoboxes to be disabled * Document `infoboxes` default value * Rename `infoboxes` to `auto_info` * Document `auto-info` * Fix incomplete rename
| * Inform when reaching undo/redo bounds (#981)Omnikar2021-11-05
| | | | | | | | | | | | | | | | * Inform when reaching undo/redo bounds * `Already at oldest change` when undo fails * `Already at newest change` when redo fails * Add missing `the`
| * Rewrite goto_bufferBlaž Hrastnik2021-11-04
| |
| * Implement "Goto next buffer / Goto previous buffer" commandsath32021-11-04
| |
| * Replace documents SlotMap with BTreeMapBlaž Hrastnik2021-11-04
| |
| * Add c-s to pick word under doc cursor to prompt line & search completion (#831)CossonLeo2021-11-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add prompt shourtcut to book Add completions to search Add c-s to pick word under doc cursor to prompt line * limit 20 last items of search completion, update book * Update book/src/keymap.md Co-authored-by: Ivan Tham <pickfire@riseup.net> * limit search completions 200 Co-authored-by: Ivan Tham <pickfire@riseup.net>
| * Prevent preview binary or large file (#939)diegodox2021-11-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Prevent preview binary or large file (#847) * fix wrong method name * fix add use trait * update lock file * rename MAX_PREVIEW_SIZE from MAX_BYTE_PREVIEW * read small bytes to determine cotent type * [WIP] add preview struct to represent calcurated preveiw * Refactor content type detection - Remove unwraps - Reuse a single read buffer to avoid 1kb reallocations between previews * Refactor preview rendering so we don't construct docs when not necessary * Replace unwarap whit Preview::NotFound * Use index access to hide unwrap Co-authored-by: Blaž Hrastnik <blaz@mxxn.io> * fix Get and unwarp equivalent to referce of Index acess * better preview implementation * Rename Preview enum and vairant Co-authored-by: Gokul Soumya <gokulps15@gmail.com> * fixup! Rename Preview enum and vairant * simplify long match * Center text, add docs, fix formatting, refactor Co-authored-by: Blaž Hrastnik <blaz@mxxn.io> Co-authored-by: Gokul Soumya <gokulps15@gmail.com>
| * Truncate the starts of file paths instead of the ends in picker (#951)Omnikar2021-11-04
| | | | | | | | | | | | | | | | | | | | | | | | | | * Truncate the starts of file paths in picker * Simplify the truncate implementation * Break loop at appropriate point * Fix alignment and ellipsis presence * Remove extraneous usage of `x_offset` Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
| * Hide keys bound to `no_op` from infobox (#971)Omnikar2021-11-04
| |
| * Ensure coords in screen depends on char width (#885)Ivan Tham2021-11-03
| | | | | | | | | | The issue affected files with lots of tabs at the start as well. Fix #840
| * Simplify BTreeSet constructionTriton1712021-11-03
| | | | | | Co-authored-by: Ivan Tham <pickfire@riseup.net>
| * Implement key ordering for info boxDaniel Ebert2021-11-03
| |
| * only remove primary index when search next without extend (#948)CossonLeo2021-11-02
| |
| * Add arrow-key bindings for window switching (#933)Gygaxis Vainhardt2021-10-30
| |
| * Extract a clear_completion methodBlaž Hrastnik2021-10-29
| |
| * Bump lsp-types to 0.91.0 (#932)Ivan Tham2021-10-29
| |
| * Make match work with extend and multi cursors (#920)Ivan Tham2021-10-29
| |
| * Support extend for multiple goto (#909)Ivan Tham2021-10-29
| | | | | | gg, ge, [n]gg
| * add expand_selection to last_motioncossonleo2021-10-29
| |
| * Add `--tutor` option to `hx --help` output (#924)Omnikar2021-10-28
| | | | | | | | | | * Add `--tutor` option to `hx --help` output * Adjust `--tutor` location in help output
| * Implement `hx --tutor` and `:tutor` to load `tutor.txt` (#898)Omnikar2021-10-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implement `hx --tutor` and `:tutor` to load `tutor.txt` * Document `hx --tutor` and `:tutor` * Change `Document::set_path` to take an `Option` * `Document::set_path` accepts an `Option<&Path>` instead of `&Path`. * Remove `Editor::open_tutor` and make tutor-open functionality use `Editor::open` and `Document::set_path`. * Use `PathBuf::join` Co-authored-by: Ivan Tham <pickfire@riseup.net> * Add comments explaining unsetting tutor path Co-authored-by: Ivan Tham <pickfire@riseup.net>
| * Use deserialization fix insteadNehliin2021-10-28
| |
| * Apply suggestions from code reviewOskar Nehlin2021-10-28
| | | | | | Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
| * Make key macro more portableNehliin2021-10-28
| |
| * Fix order being empty and add testNehliin2021-10-28
| |
| * Move test to test moduleNehliin2021-10-28
| |
| * Fix panic when using multi-level key mappingNehliin2021-10-28
| |
| * fix: When cycling through prompt history, update event needs to triggerBlaž Hrastnik2021-10-27
| |
| * Improve statusline (#916)Omnikar2021-10-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Improve statusline * Change diagnostic count display to show counts of individual diagnostic types next to their corresponding gutter dots. * Add selection count to the statusline. * Do not display info or hint count in statusline * Reduce padding Co-authored-by: Blaž Hrastnik <blaz@mxxn.io> * Reduce padding Co-authored-by: Blaž Hrastnik <blaz@mxxn.io> * Use `Span::styled` * Reduce padding * Use `Style::patch` * Remove unnecessary `Cow` creation Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>