aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/ui
Commit message (Collapse)AuthorAge
* Address nightly clippy warningsBlaž Hrastnik2021-06-27
|
* Fix silly mistake in previous phantom line bug fix.Nathan Vegdahl2021-06-26
| | | | | Fixes #381. I was trying to change an index value that... wasn't even an index value.
* Fix highlight code splitting graphemes.Nathan Vegdahl2021-06-26
| | | | | | This resulted in phantom blank lines in files with CRLF line endings, but could potentially have manifested with other graphemes as well.
* Sort files in file picker by access, modification and creation date (#336)Wojciech Kępka2021-06-26
| | | | | | | | | * Sort files in file picker by access date * Fallback file time to modified then created then UNIX_EPOCH * Use `sort_by_key` * Refactor
* 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>
* Add … when chars are truncated in pickerGokul Soumya2021-06-25
|
* Fix previous broken refactor key into helix-viewIvan Tham2021-06-24
| | | | | | | | Need to be used for autoinfo Revert "Revert "Refactor key into helix-view"" This reverts commit 10f9f72232f5789323d689bf0f9cd359715770d6.
* Fix picker item width overflowGokul Soumya2021-06-24
| | | | Fixes #352
* ui: Paginate prompt completionBlaž Hrastnik2021-06-23
|
* Patch the primary cursor with insert and select styleswojciechkepka2021-06-23
|
* Refactor, add `ui.cursor.primary`wojciechkepka2021-06-23
|
* Add ability to theme primary selecitionwojciechkepka2021-06-23
|
* Add ability to theme cursorwojciechkepka2021-06-23
|
* Fix small screen panicsBlaž Hrastnik2021-06-23
|
* Increment char_index by grapheme char count.Nathan Vegdahl2021-06-23
| | | | It was just assuming single-char graphemes before.
* Make the prompt callback take a Context.Joe Neeman2021-06-23
|
* Implement change_current_directory commandLionel Flandrin2021-06-22
|
* minor: Remove old TODOsBlaž Hrastnik2021-06-22
|
* Merge pull request #224 from helix-editor/line_ending_detectionBlaž Hrastnik2021-06-22
|\ | | | | Line ending detection
| * Merge branch 'master' of github.com:helix-editor/helix into ↵Nathan Vegdahl2021-06-20
| |\ | | | | | | | | | | | | | | | | | | line_ending_detection Rebasing was making me manually fix conflicts on every commit, so merging instead.
| * | Work on moving code over to LineEnding instead of assuming '\n'.Nathan Vegdahl2021-06-20
| | | | | | | | | | | | Also some general cleanup and some minor fixes along the way.
| * | Misc fixes and clean up of line ending detect code.Nathan Vegdahl2021-06-20
| | |
| * | Merge remote-tracking branch 'origin/master' into line_ending_detectionJan Hrastnik2021-06-19
| |\ \
| * | | trying out line ending helper functions in commands.rsJan Hrastnik2021-06-16
| | | |
| * | | rebase on branch line_ending_detectionJan Hrastnik2021-06-16
| | | |
* | | | Add progress spinners to status linewojciechkepka2021-06-21
| | | |
* | | | Add a `Spinner`wojciechkepka2021-06-21
| |_|/ |/| |
* | | Add comment, statusline + commandline = 2wojciechkepka2021-06-20
| | |
* | | Use full screen sizewojciechkepka2021-06-20
| | |
* | | Make completion window move to top when cursor is below halfwojciechkepka2021-06-20
| | |
* | | ui: prompt: Add more keymappingsBlaž Hrastnik2021-06-20
| | |
* | | Re-export unicode crates from helix_coreBlaž Hrastnik2021-06-20
| | |
* | | ui: prompt: Better unicode supportBlaž Hrastnik2021-06-20
| | | | | | | | | | | | | | | We copied over eval_movement from wezterm, that already solves most of our problems. self.cursor is now byte-based.
* | | Fix overflowwojciechkepka2021-06-19
| | |
* | | Add theme completerwojciechkepka2021-06-19
| | |
* | | Add ability to change theme on editorwojciechkepka2021-06-19
| | |
* | | Revert "Refactor key into helix-view"Blaž Hrastnik2021-06-19
| |/ |/| | | | | | | | | Did not use defaults when custom keymap was used This reverts commit ca806d4f852e934651132fc9570a6110e30f646d.
* | Refactor key into helix-viewIvan Tham2021-06-19
| | | | | | | | Now also make use of Deserialize for Config.
* | Add `ui.statusline.inactive`, use `ui.statusline` for statusline textwojciechkepka2021-06-18
| |
* | Fix expansion of `~` (#284)Wojciech Kępka2021-06-18
| | | | | | | | | | | | | | | | | | | | | | | | | | * Fix expansion of `~`, dont use directory relative to cwd. * Add `expand_tilde` * Bring back `canonicalize_path`, use `expand_tilde` to `normalize` * Make `:open ~` completion work * Fix clippy * Fold home dir into tilde in Document `realitve_path`
* | Fix panic when entering unicode in command promptBenoît CORTIER2021-06-18
| | | | | | | | | | | | | | It was attempted to use `String::insert` and `String::remove` to insert without taking care of unicodes. Fixes https://github.com/helix-editor/helix/issues/282
* | Replace `Editor::current` by a macroBenoît CORTIER2021-06-18
| | | | | | | | | | | | | | | | | | This is necessary to workaround ownership issues across function calls. The issue notably arised when implementing the registers into `Editor` and I was getting annoyed again when implementing copy/pasting into system clipboard. The problem is addressed by using macro calls instead of function calls. There is no notable side effect.
* | Configurable keys 2 (Mapping keys to commands) (#268)PabloMansanet2021-06-17
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add convenience/clarity wrapper for Range initialization * Add keycode parse and display methods * Add remapping functions and tests * Implement key remapping * Add remapping book entry * Use raw string literal for toml * Add command constants * Make command functions private * Map directly to commands * Match key parsing/displaying to Kakoune * Formatting pass * Update documentation * Formatting * Fix example in the book * Refactor into single config file * Formatting * Refactor configuration and add keymap newtype wrappers * Address first batch of PR comments * Replace FromStr with custom deserialize
* Add theme key for selected line numberGokul Soumya2021-06-16
| | | | | | | | | | | Adds `ui.linenr.selected` which controls highlight of linu numbes which have cursors on. - Fallback to linenr if linenr.selected is missing - Update docs and themes - Add TODOs for themes with temporary linenr.selected
* Add cursor kind to separate hidden cursor from posIvan Tham2021-06-15
| | | | | Now IME cursor position should be correct since we can still set cursor position without drawing the cursor.
* Remove RwLock for registersBenoît CORTIER2021-06-15
| | | | | | | | Registers are stored inside `Editor` and accessed without `RwLock`. To work around ownership, I added a sister method to `Editor::current`: `Editor::current_with_context`. I tried to modify `Editor::current` directly but it's used at a lot of places so I reverted into this for now at least.
* Use `_impl` suffix instead of `_` prefixBenoît CORTIER2021-06-15
| | | | | | Helpers / internal implementations where using the `_` prefix. However, this prefix also suppress unused warnings. I suggest we use the `_impl` suffix instead.
* Add filter ability to pickerIvan Tham2021-06-15
| | | | Inspired by doom emacs. Able to filter picker options multiple times.
* Remove indent style status-line display for now.Nathan Vegdahl2021-06-15
|
* Implement command to change the indent-style setting of a document.Nathan Vegdahl2021-06-15
|