aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src
Commit message (Collapse)AuthorAge
* Start searches at the right side of the block cursor.Nathan Vegdahl2021-07-26
|
* Collect some common patterns into methods on `Range`.Nathan Vegdahl2021-07-26
|
* Switch to a cleaner range-head moving abstraction.Nathan Vegdahl2021-07-24
| | | | Also fix a bunch of bugs related to it.
* Fixed find_till_char and find_char commands.Nathan Vegdahl2021-07-24
| | | | | They worked correctly when extending, but not for normal cursor movement.
* Fix surround replace command replacing the wrong position on the right.Nathan Vegdahl2021-07-24
|
* Merge branch 'master' into great_line_ending_and_cursor_range_cleanupNathan Vegdahl2021-07-24
|\
| * fix: ui/menu: Don't allow scrolling past the end of completionBlaž Hrastnik2021-07-23
| | | | | | | | Fixes #472
| * fix: Only try expanding directory completion if it makes senseBlaž Hrastnik2021-07-23
| | | | | | | | Fixes #487
| * Simplify ui/menu.rsBlaž Hrastnik2021-07-23
| |
| * Resume last pickerIvan Tham2021-07-22
| | | | | | | | Inspired by space ' in doom emacs.
* | Put selection in separate variable in commands code.Nathan Vegdahl2021-07-24
| |
* | Fix append mode, and make insertion always happen at head of range.Nathan Vegdahl2021-07-23
| |
* | Calculate the line that the range head is on correctly.Nathan Vegdahl2021-07-22
| |
* | Use `Range::line_range()` in some more places I missed.Nathan Vegdahl2021-07-22
| |
* | Fix append mode not editing correctly.Nathan Vegdahl2021-07-21
| | | | | | | | | | This is currently a bit of a hack, and still doesn't behave quite how we probably want. Left a TODO.
* | Fix yank not working with internally zero-width ranges.Nathan Vegdahl2021-07-21
| |
* | Fixes for misc bugs with view movement.Nathan Vegdahl2021-07-21
| |
* | Use new `Range::line_range()` method in more places, as appropriate.Nathan Vegdahl2021-07-20
| |
* | Fix various bugs related to goto-end-of-line command.Nathan Vegdahl2021-07-20
| | | | | | | | | | This also fixes a bug with `Selection::normalize()`, that could result in an out-of-bounds primary index.
* | Fix line-wise `p` pasting before the current line instead of after.Nathan Vegdahl2021-07-20
| |
* | Fix incorrect line hihglight when a selection is at the end of a line.Nathan Vegdahl2021-07-20
| |
* | Make search work a little nicer when there are already selections.Nathan Vegdahl2021-07-20
| | | | | | | | | | | | Specifically, if you have text like "aaaaaaaaa" and you search for "a", the new behavior will actually progress through all of the "a"s, whereas the previous behavior would be stuck on a single one.
* | Fix extend line behavior.Nathan Vegdahl2021-07-20
| |
* | Fixed primary cursor position calculation to use 1-width semantics.Nathan Vegdahl2021-07-19
| | | | | | | | | | This had a bunch of knock-on effects that were buggy, such as bracket match highlighting.
* | Properly fix `last_line` view calculation.Nathan Vegdahl2021-07-19
| | | | | | | | | | Turned out to be simpler than I thought. Didn't even need to change the other use-sites.
* | Fix last line number being drawn in the status bar.Nathan Vegdahl2021-07-19
| |
* | Merge branch 'master' into great_line_ending_and_cursor_range_cleanupNathan Vegdahl2021-07-19
|\|
| * Calculate completion popup sizingBlaž Hrastnik2021-07-19
| | | | | | | | Fixes #220
| * Made toggle_comments language dependent (#463)Cor Peters2021-07-18
| | | | | | | | | | | | | | | | | | | | | | | | | | * Made toggle_comments language dependent * Fixed Test Cases * Added clippy suggestion * Small Fixes * Clippy Suggestion Co-authored-by: Cor <prive@corpeters.nl>
* | Update word selection/navigation to work with gap indexing.Nathan Vegdahl2021-07-19
| | | | | | | | | | | | Also tweaked some of the existing behavior that seemed inconsistent and/or buggy. It's mostly identical, just a few corner cases are different.
* | Update extend_line command to work with gap indexing.Nathan Vegdahl2021-07-17
| |
* | Update change-case commands to work with gap indexing.Nathan Vegdahl2021-07-17
| |
* | Merge branch 'master' into great_line_ending_and_cursor_range_cleanupNathan Vegdahl2021-07-17
|\|
| * Changed startup behaviour to only open a single view when multiple files are ↵Cor2021-07-17
| | | | | | | | | | | | specified on the commandline. Changed the behaviour; the first argument on the commandline is the file on display
| * Added change_case command (#441)Cor Peters2021-07-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added change_case command * Added switch_to_uppercase and switch_to_lowercase Renamed change_case to switch_case. * Updated the Keymap section of the Book * Use flat_map instead of map + flatten * Fix switch_to_uppercase using to_lowercase * Switched 'Alt-`' to uppercase and '`' to lowercase Co-authored-by: Cor <prive@corpeters.nl>
| * Removed double entry of extend_lineCor2021-07-15
| |
| * Restore C-w shortcutBlaž Hrastnik2021-07-11
| |
| * Further simplify error handling in :commandsBlaž Hrastnik2021-07-11
| |
| * Make command implementation return a Result<()>Lionel Flandrin2021-07-11
| | | | | | | | The error message is displayed with cx.editor.set_error.
| * Add infobox for viewIvan Tham2021-07-11
| |
| * Injection Query Support (#430)Kirawi2021-07-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * wip * fixed unsafe * fix clippy * move out reference variable * fmt * remove arc * change safety comment
| * Add more modes to infoboxIvan Tham2021-07-08
| |
| * More responsive key inputIvan Tham2021-07-06
| | | | | | | | | | | | Use biased select!, don't eagerly process lsp message since we want to prioritize user input rather than lsp messages, but still limit rendering for lsp messages.
* | Update surround commands to work with gap indexing.Nathan Vegdahl2021-07-08
| |
* | Merge branch 'master' into great_line_ending_and_cursor_range_cleanupNathan Vegdahl2021-07-06
|\|
| * Fix phantom lines in some CRLF files.Nathan Vegdahl2021-07-05
| | | | | | | | | | | | | | Fixes #415. The issue was that cursor highlighting wasn't extending to encompass the entire CRLF grapheme, and therefore ended up splitting it. This presumably was messing up other grapheme rendering as well, and this fixes that as well.
| * Remove outdated commentBlaž Hrastnik2021-07-05
| |
| * Implement `X` as extend selection to line boundsBlaž Hrastnik2021-07-05
| |
| * Fix info panic on small terminalIvan Tham2021-07-04
| |
| * Factor out goto t/m/b into a single function againBlaž Hrastnik2021-07-04
| |