aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/ui
Commit message (Collapse)AuthorAge
...
* Update to rust 1.56 + 2021 editionBlaž Hrastnik2021-10-22
|
* First stab at ignoring compressed files from picker (#767)Daniel S Poulin2021-10-22
|
* Add `C-j` and `C-k` to keybinds for picker (#876)VuiMuich2021-10-19
| | | | | * Add `C-j` and `C-k` for moving down/up in pickers * Add new binds to keymap doc
* fix: If backspacing past the start offset, cancel completionBlaž Hrastnik2021-10-16
| | | | Refs #822
* Merge pull request #821 from helix-editor/idle-timerBlaž Hrastnik2021-10-10
|\ | | | | Idle timer / Autocompletion
| * Allow trigger_offset to be unused for nowBlaž Hrastnik2021-10-10
| |
| * fix: Don't crash on empty completion, don't retrigger on closeBlaž Hrastnik2021-10-07
| |
| * Filter the initial completionBlaž Hrastnik2021-10-05
| |
| * Experiment with autocompletion on idleBlaž Hrastnik2021-10-05
| |
| * idle timer wipBlaž Hrastnik2021-10-05
| |
* | Picker: Don't panick at move_up/move_down when matches is empty (#818)Leoi Hung Kin2021-10-09
|/
* Initial implementation of global search (#651)Leoi Hung Kin2021-09-21
| | | | | | | | | | | * initial implementation of global search * use tokio::sync::mpsc::unbounded_channel instead of Arc, Mutex, Waker poll_fn * use tokio_stream::wrappers::UnboundedReceiverStream to collect all search matches * regex_prompt: unified callback; refactor * global search doc
* enable smart case regex search by default (#761)kraem2021-09-20
|
* fix: Wrap around the top of the picker menu when scrollingBlaž Hrastnik2021-09-17
| | | | | | Forgot to port the improvements in menu.rs Fixes #734
* syntax: Properly handle injection-regex for language injectionsBlaž Hrastnik2021-09-16
|
* ui: Trigger recalculate_size per popup render so contents can readjustBlaž Hrastnik2021-09-13
|
* Regex prompts should have a history with a specifiable registerBlaž Hrastnik2021-09-08
|
* Optimize completion doc position. (#691)CossonLeo2021-09-08
| | | | | | | | | | | | | | | | | | | * optimize completion doc's render * optimize completion doc's render * optimize completion doc position * cargo fmt * fix panic * use saturating_sub * fixs * fix clippy * limit completion doc max width 120
* ui: Be smarter about centering previewsBlaž Hrastnik2021-09-08
| | | | | Try centering the whole block. If the block is too big for the viewport, then make sure that the first line is within the preview.
* Add a sticky mode for keymaps (#635)Gokul Soumya2021-09-05
|
* ui: prompt: Avoid allocating a prompt name if it's a static stringBlaž Hrastnik2021-08-31
|
* fix: use .cursor() instead of .headgbaranski2021-08-30
|
* fix: use head instead of anchor for relative linegbaranski2021-08-30
|
* Fix code indentation (#671)Omnikar2021-08-30
|
* 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
* ui: prompt: Fix typing with altBlaž Hrastnik2021-08-27
|
* fix: show current line number even if relative line is on (#656)Grzegorz Baranski2021-08-26
|
* Show hidden files in filename completer (#648)Stuart Hinson2021-08-26
| | | also removes unnecessary clone
* Move path util functions from helix-term to helix-core (#650)Kirawi2021-08-25
|
* ui: Tone down the preview highlight by adding a new scopeBlaž Hrastnik2021-08-24
|
* ui: Fix preview window padding: we want horizontal, not verticalBlaž Hrastnik2021-08-24
|
* ui: Highlight line ranges in the previewBlaž Hrastnik2021-08-24
|
* info component style config use ui.info ui.info.text (#643)CossonLeo2021-08-24
|
* better panic messages for when you're missing selection scopes (#608)Kirawi2021-08-22
|
* 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
* ui: Refactor styling a bit, ensure infobox is stylableBlaž Hrastnik2021-08-20
|
* minor: Refactor commands.rs a bit moreBlaž Hrastnik2021-08-20
|
* use `ui.text.focus` for the picker (fix #622)Kirawi2021-08-20
|
* Fix clippy attrBlaž Hrastnik2021-08-19
|
* Avoid looking up ui.text per highlight rangeBlaž Hrastnik2021-08-19
|
* Extract view.inner_area(), simplify render_focused_view_elementsBlaž Hrastnik2021-08-19
|
* Refactor view.first_line/first_col into view.offset (Position)Blaž Hrastnik2021-08-19
|
* fix: ui: Pin popups with no positioning to the initial cursor positionBlaž Hrastnik2021-08-19
| | | | This avoids the floating popup following the cursor as we type.
* Refactor infobox rendering and parsing (#579)Gokul Soumya2021-08-17
|
* feat: relative numbers (#485)Grzegorz Baranski2021-08-16
| | | | | | | | | | | | | | | | | | | * feat(helix-view): configuring line-number * feat(helix-term): relative line numbers * feat(helix-term): passing editor::Config to render * fix(helix-view): remove LineNumber::None * feat(helix-term): rendering line-number according to configuration * fix(term): put calculating current line above line iteration * fix: add abs_diff function * deps: cargo update * fix: pass config argument
* ui: picker: Position count according to input barBlaž Hrastnik2021-08-13
|
* ui: picker: Use ui.selection instead of ui.selection.primaryBlaž Hrastnik2021-08-13
|
* ui: picker: Render matches/total countsBlaž Hrastnik2021-08-13
|
* 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
* Support primary clipboard (#548)Dmitry Sharshakov2021-08-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * clipboard-none: add in-memory fallback buffer Signed-off-by: Dmitry Sharshakov <d3dx12.xx@gmail.com> * view: add Wayland primary clipboard Signed-off-by: Dmitry Sharshakov <d3dx12.xx@gmail.com> * Format Signed-off-by: Dmitry Sharshakov <d3dx12.xx@gmail.com> * helix-term: copy to primary selection after mouse move stops Signed-off-by: Dmitry Sharshakov <d3dx12.xx@gmail.com> * helix-term: don't update primary selection if it is a single character Signed-off-by: Dmitry Sharshakov <d3dx12.xx@gmail.com> * helix-term: discard result of setting primary selection Signed-off-by: Dmitry Sharshakov <d3dx12.xx@gmail.com> * helix-term: add commands for interaction with primary clipboard Signed-off-by: Dmitry Sharshakov <d3dx12.xx@gmail.com> * editor: implement primary selection copy/paste using commands Signed-off-by: Dmitry Sharshakov <d3dx12.xx@gmail.com> * clipboard: support xsel for primary selection Signed-off-by: Dmitry Sharshakov <d3dx12.xx@gmail.com> * clipboard: support xclip for primary selection Signed-off-by: Dmitry Sharshakov <d3dx12.xx@gmail.com> * helix-term: multiple cursor support for middle click paste Signed-off-by: Dmitry Sharshakov <d3dx12.xx@gmail.com> * rename primary selection to primary clipboard in scope of PR Signed-off-by: Dmitry Sharshakov <d3dx12.xx@gmail.com> * helix-term: make middle click paste optional Signed-off-by: Dmitry Sharshakov <d3dx12.xx@gmail.com> * Format Signed-off-by: Dmitry Sharshakov <d3dx12.xx@gmail.com> * Update helix-term/src/ui/editor.rs * fix formatting Signed-off-by: Dmitry Sharshakov <d3dx12.xx@gmail.com> * config: correct defaults if terminal prop is not set Signed-off-by: Dmitry Sharshakov <d3dx12.xx@gmail.com> * refactor: merge clipboard and primary selection implementations Signed-off-by: Dmitry Sharshakov <d3dx12.xx@gmail.com> * Tidy up code Signed-off-by: Dmitry Sharshakov <d3dx12.xx@gmail.com> * view: remove names for different clipboard/selection providers Signed-off-by: Dmitry Sharshakov <d3dx12.xx@gmail.com> * Update helix-view/src/clipboard.rs Co-authored-by: Gokul Soumya <gokulps15@gmail.com> * helix-view: tidy macros Signed-off-by: Dmitry Sharshakov <d3dx12.xx@gmail.com> * helix-term: refactor paste-replace commands Signed-off-by: Dmitry Sharshakov <d3dx12.xx@gmail.com> * helix-term: use new config for middle-click-paste Signed-off-by: Dmitry Sharshakov <d3dx12.xx@gmail.com> * clipboard: remove memory fallback for command and windows providers Signed-off-by: Dmitry Sharshakov <d3dx12.xx@gmail.com> * clipboard-win: fix build Signed-off-by: Dmitry Sharshakov <d3dx12.xx@gmail.com> * clipboard: return empty string when primary clipboard is missing Signed-off-by: Dmitry Sharshakov <d3dx12.xx@gmail.com> * clipboard: fix errors in Windows build Signed-off-by: Dmitry Sharshakov <d3dx12.xx@gmail.com> Co-authored-by: Gokul Soumya <gokulps15@gmail.com>