aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/ui
Commit message (Collapse)AuthorAge
* Remove another parameter from render_viewBlaž Hrastnik2021-11-30
|
* dap: Extract diagnostics gutter into gutters.rsBlaž Hrastnik2021-11-30
|
* dap: Rewrite breakpoints so that there's a single set maintainedBlaž Hrastnik2021-11-30
|
* Pass editor into render_view & gutter, reducing the number of paramsBlaž Hrastnik2021-11-30
|
* Merge remote-tracking branch 'origin/master' into debugBlaž Hrastnik2021-11-30
|\
| * Extract gutters into helix-viewBlaž Hrastnik2021-11-29
| |
| * Reuse a text buffer for each gutter lineBlaž Hrastnik2021-11-29
| |
| * Tie the GutterFn lifetime to the doc so we can avoid cloning dataBlaž Hrastnik2021-11-29
| |
| * TODOBlaž Hrastnik2021-11-29
| |
| * Gutter functionsBlaž Hrastnik2021-11-29
| |
| * File picker config (#988)Dan Nases Sha2021-11-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * squashed WIP commits * hide_gitignore working with config * pass reference to new config parameter of file_picker() * update config option name to match name on walk builder * add comments to config and documentation of option to book * add git_ignore option to WalkBuilder within prompt in commands.rs * WIP: add FilePickerConfig struct * WIP: cleanup * WIP: add more options including max_depth * WIP: changed defaults to match ignore crate defaults * WIP: change WalkBuilder in global_search() to use config options * WIP: removed follow_links, changed max_depth to follow config setting * WIP: update book with file-picker inline table notation * update documentation for file-picker config in book * adjusted to [editor.file-picker] in book configuration.md * adjust comments in editor.rs to be doc comments, cleanup * adjust comments * adjust book
| * Solarized theme: fix popup colors, adjust menu (#1124)Skyler Hawthorne2021-11-20
| | | | | | | | | | * fix popup colors, adjust menu * fix hardcoded horizontal rule color
| * Jump to end char of surrounding pair from any cursor pos (#1121)Martin Junghanns2021-11-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Jump to end char of surrounding pair from any cursor pos * Separate bracket matching into exact and fuzzy search * Add constants for bracket chars * Abort early if char under cursor is not a bracket * Simplify bracket char validation * Refactor node search and unify find methods * Remove bracket constants
* | dap: Toggle breakpoints without changing selection, fix offset calcBlaž Hrastnik2021-11-22
| |
* | ui: Since diagnostics are sorted, we can use binary searchBlaž Hrastnik2021-11-22
| |
* | dap: Remove the prompt line parameter, use insert_str insteadBlaž Hrastnik2021-11-22
| |
* | dap: Modify breakpoints in place with no cloningBlaž Hrastnik2021-11-22
| |
* | Merge remote-tracking branch 'origin/master' into debugBlaž Hrastnik2021-11-21
|\|
| * Remove unused importsBlaž Hrastnik2021-11-18
| |
| * ui: Stop hardcoding markdown doc colorsBlaž Hrastnik2021-11-18
| |
| * ui: Increase diagnostics sideline width to 100 max and wrap if neededBlaž Hrastnik2021-11-16
| |
| * Readline style insert mode (#1039)Bob2021-11-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * readline style insert mode * update keymap.md * don't save change history in insert mode * Revert "don't save change history in insert mode" This reverts commit cb47f946d7fb62ceda68e7d1692a3914d0be7762. * don't affect register and history in insert mode * add insert_register * don't call exit_select_mode in insert mode * avoid set_selection * avoid duplicated current!
| * Added workspace_symbol_picker (#1041)Ebbe Steenhoudt2021-11-14
| | | | | | | | | | | | | | * Added workspace_symbol_picker * Moved truncation of the symbol pickers to the end. * Fixed typo
| * Implement "Goto last modification" command (#1067)ath32021-11-14
| |
| * helix-term/editor: display scratch buffer name in status barCole Helbling2021-11-14
| |
| * fix: shift-tab mappings broken after efc2b4c7Blaž Hrastnik2021-11-12
| |
| * Allow keys to be mapped to sequences of commands (#589)Omnikar2021-11-11
| | | | | | | | | | | | | | | | | | * Allow keys to be mapped to sequences of commands * Handle `Sequence` at the start of `Keymap::get` * Use `"[Multiple commands]"` as command sequence doc * Add command sequence example to `remapping.md`
| * Fix moving with arrow keys in prompt (#1070)ath32021-11-11
| |
| * Refactor keyevent handling using key, ctrl macros (#1058)Gokul Soumya2021-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.
| * Restore screen position when abort search (#1047)Ivan Tham2021-11-10
| |
| * add <C-h>, <C-u>, <C-d>, Delete in prompt mode (#1034)Bob2021-11-09
| |
| * Add WORD textobject (#991)Omnikar2021-11-08
| | | | | | | | | | * Add WORD textobject * Document WORD textobject
* | wipBlaž Hrastnik2021-11-08
| |
* | 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: 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
|\|
| * 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
| * 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>
| * 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
| * Extract a clear_completion methodBlaž Hrastnik2021-10-29
| |
| * Bump lsp-types to 0.91.0 (#932)Ivan Tham2021-10-29
| |
| * 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>