aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/ui
Commit message (Collapse)AuthorAge
* 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
|
* Render indent-style status in status line.Nathan Vegdahl2021-06-15
| | | | Also cleaned up the status line code a little.
* Add ctrl-w for promptIvan Tham2021-06-14
|
* Add ui.selection to theme.tomlGokul Soumya2021-06-14
| | | | | Enables changing the color of the selection which was previously hard coded.
* ui: Prompt should figure out a reasonable column widthBlaž Hrastnik2021-06-13
| | | | | Fixes #192 Refs #225
* Add `Copy` derive to `PromptEvent`Wojciech Kępka2021-06-13
|
* commands: Add more write commandsWojciech Kępka2021-06-13
|
* Change picker horizontal split to hIvan Tham2021-06-12
| | | Follow window mode and vim behavior, x seemed weird.
* Fix documentation popup panicwojciechkepka2021-06-10
|
* Only enforce limit outside of .gitKevin Sjöberg2021-06-09
|
* Match keybindings of menuKevin Sjöberg2021-06-09
|
* Fix Shift-Tab for moving upwards in menuKevin Sjöberg2021-06-09
|
* Fix crash when too many completions availableBlaž Hrastnik2021-06-08
| | | | Refs #81
* Support go to line 1Zheming Li2021-06-08
|
* Make matching bracket dimmed, prevent out of bounds renderingWojciech Kępka2021-06-08
|
* Bump file picker limitKevin Sjöberg2021-06-08
|
* completion: Fix unimplemented autocompleteWojciech Kępka2021-06-08
|
* Address clippy lintBlaž Hrastnik2021-06-07
|
* Implement register selectionBenoît CORTIER2021-06-07
| | | | | | User can select register to yank into with the " command. A new state is added to `Editor` and `commands::Context` structs. This state is managed by leveraging a new struct `RegisterSelection`.
* Revert the line number rendering change, we were correct beforeBlaž Hrastnik2021-06-07
|
* fix: 2 panics while setting style + off by 1ahkrr2021-06-07
| | | | | | | | | | | | The panics would occur because set_style would draw outside of the the surface. Both occured using `find_prev` or `till_prev` In my case the first panic! would appear in a terminal with around 80 columns in helix/README.md going to the end of the file with `geglf(` the second with `geglfX` The off by one fix ensures that `find_nth_prev` starts at the first character to the left
* Add diagnostics keybindingsWojciech Kępka2021-06-07
|
* Refactor index assignmentKevin Sjöberg2021-06-06
| | | | Co-authored-by: Ivan Tham <pickfire@riseup.net>
* Allow moving backwards in completionsKevin Sjöberg2021-06-06
|
* Trigger directory completion upon pressing EnterKevin Sjöberg2021-06-06
|
* Calculate offset when moving picker cursorKevin Sjöberg2021-06-06
|
* Do not move past number of matchesKevin Sjöberg2021-06-06
|
* fix: panicked at 'attempt to subtract with overflow' ahkrr2021-06-05
| | | | helix-term/src/ui/editor.rs:275:29 This would happen when the window-size was to small to display the entire width and one would start jumping forwards with f<some_char> and the beginning of the highlighted area would end up outside of the window
* Fixing Multiple Panics (#121)Kirawi2021-06-05
| | | | | | | * init * wip * wip
* matchbrackets: Needs to render with the viewport offsetBlaž Hrastnik2021-06-04
|
* Fix panic paint mysterious matching pairIvan Tham2021-06-04
| | | | | | When the matching pair is out of bounds it still paints it causing an out of bound panic. A dirty fix since it still have some issue, at least it does not panic now.
* key is now modified in place at start of handle_eventJan Hrastnik2021-06-03
|
* key_canonicalization now only matches charsJan Hrastnik2021-06-03
|
* put the key canonicalization in a seperate function. only chars now get ↵Jan Hrastnik2021-06-03
| | | | stripped of Shift modifier
* removed shift matchingJan Hrastnik2021-06-03
|
* Highlight matching bracketsnotoria2021-06-03
|
* Fix cursor not showing on (0, 0)Blaž Hrastnik2021-06-03
|
* Fix split sizes getting out of sync with the terminal size, refs #69Blaž Hrastnik2021-06-03
|
* Change help prompt stylingBlaž Hrastnik2021-06-01
|
* Completion: Format docs tabs & highlight in the doc's native languageBlaž Hrastnik2021-05-30
|
* Completion: Render non-markdown docs tooBlaž Hrastnik2021-05-30
|
* ESC should exit both completion and insert modeBlaž Hrastnik2021-05-29
|
* Fix cursor positioning for promptsBlaž Hrastnik2021-05-28
|
* ui: Menu rendering adjustmentsBlaž Hrastnik2021-05-27
|
* Update deps, introduce the new tree-sitter lifetimesBlaž Hrastnik2021-05-27
|