Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Calculate the line that the range head is on correctly. | Nathan Vegdahl | 2021-07-22 |
| | |||
* | Use `Range::line_range()` in some more places I missed. | Nathan Vegdahl | 2021-07-22 |
| | |||
* | Fix append mode not editing correctly. | Nathan Vegdahl | 2021-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 Vegdahl | 2021-07-21 |
| | |||
* | Fixes for misc bugs with view movement. | Nathan Vegdahl | 2021-07-21 |
| | |||
* | Use new `Range::line_range()` method in more places, as appropriate. | Nathan Vegdahl | 2021-07-20 |
| | |||
* | Fix various bugs related to goto-end-of-line command. | Nathan Vegdahl | 2021-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 Vegdahl | 2021-07-20 |
| | |||
* | Make search work a little nicer when there are already selections. | Nathan Vegdahl | 2021-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 Vegdahl | 2021-07-20 |
| | |||
* | Fixed primary cursor position calculation to use 1-width semantics. | Nathan Vegdahl | 2021-07-19 |
| | | | | | This had a bunch of knock-on effects that were buggy, such as bracket match highlighting. | ||
* | Merge branch 'master' into great_line_ending_and_cursor_range_cleanup | Nathan Vegdahl | 2021-07-19 |
|\ | |||
| * | Made toggle_comments language dependent (#463) | Cor Peters | 2021-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 Vegdahl | 2021-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 Vegdahl | 2021-07-17 |
| | | |||
* | | Update change-case commands to work with gap indexing. | Nathan Vegdahl | 2021-07-17 |
| | | |||
* | | Merge branch 'master' into great_line_ending_and_cursor_range_cleanup | Nathan Vegdahl | 2021-07-17 |
|\| | |||
| * | Added change_case command (#441) | Cor Peters | 2021-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> | ||
| * | Restore C-w shortcut | Blaž Hrastnik | 2021-07-11 |
| | | |||
| * | Further simplify error handling in :commands | Blaž Hrastnik | 2021-07-11 |
| | | |||
| * | Make command implementation return a Result<()> | Lionel Flandrin | 2021-07-11 |
| | | | | | | | | The error message is displayed with cx.editor.set_error. | ||
| * | Add infobox for view | Ivan Tham | 2021-07-11 |
| | | |||
| * | Add more modes to infobox | Ivan Tham | 2021-07-08 |
| | | |||
* | | Update surround commands to work with gap indexing. | Nathan Vegdahl | 2021-07-08 |
| | | |||
* | | Merge branch 'master' into great_line_ending_and_cursor_range_cleanup | Nathan Vegdahl | 2021-07-06 |
|\| | |||
| * | Implement `X` as extend selection to line bounds | Blaž Hrastnik | 2021-07-05 |
| | | |||
| * | Factor out goto t/m/b into a single function again | Blaž Hrastnik | 2021-07-04 |
| | | |||
| * | Revert back to 'gm' | Blaž Hrastnik | 2021-07-04 |
| | | | | | | | | top / middle / bottom mnemonic. | ||
| * | Goto mode use infobox | Ivan Tham | 2021-07-04 |
| | | | | | | | | | | In the meantime, change gm to gc. Remove extra space in mode title. | ||
| * | Reduce calculation and improve pattern in infobox | Ivan Tham | 2021-07-04 |
| | | | | | | | | | | | | - switch to use static OnceCell to calculate Info once - pass Vec<(&[KeyEvent], &str)> rather than Vec<(Vec<KeyEvent>, &str)> - expr -> tt to allow using | as separator, make it more like match | ||
| * | Support infobox doc gen on stable release | Ivan Tham | 2021-07-04 |
| | | |||
| * | Add infobox doc generation and improve ergonomics | Ivan Tham | 2021-07-04 |
| | | |||
| * | Fix rendering issues for infobox | Ivan Tham | 2021-07-04 |
| | | |||
| * | Suggestions for infobox changes | Ivan Tham | 2021-07-04 |
| | | | | | | Co-authored-by: Benoît Cortier <benoit.cortier@fried-world.eu> | ||
| * | Add infobox | Ivan Tham | 2021-07-04 |
| | | |||
| * | Add object selection (textobjects) (#385) | Gokul Soumya | 2021-07-03 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add textobjects for word * Add textobjects for surround characters * Apply clippy lints * Remove ThisWordPrevBound in favor of PrevWordEnd It's the same as PrevWordEnd except for taking the current char into account, so use a "flag" to capture that usecase * Add tests for PrevWordEnd movement * Remove ThisWord* movements They did not preserve anchor positions and were only used for textobject boundary search anyway so replace them with simple position finding functions * Rewrite tests of word textobject * Add tests for surround textobject * Add textobject docs * Refactor textobject word position functions * Apply clippy lints on textobject * Fix overflow error with textobjects | ||
| * | `:reload` (#374) | Kirawi | 2021-07-02 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * reloading functionality * fn with_newline_eof() * fmt * wip * wip * wip * wip * moved to core, added simd feature for encoding_rs * wip * rm * .gitignore * wip * local wip * wip * wip * no features * wip * nit * remove simd * doc * clippy * clippy * address comments * add indentation & line ending change | ||
* | | Make horizontal selection movement work properly. | Nathan Vegdahl | 2021-07-02 |
| | | |||
* | | Merge branch 'master' into great_line_ending_and_cursor_range_cleanup | Nathan Vegdahl | 2021-07-02 |
|\| | |||
| * | Fix unused `Result` warnings in helix-term. | Nathan Vegdahl | 2021-07-02 |
| | | |||
| * | Fix unused variable, parameter, and `mut` warnings in helix-term. | Nathan Vegdahl | 2021-07-02 |
| | | |||
| * | Remove #[allow(unused)] from helix-term, and fix unused imports. | Nathan Vegdahl | 2021-07-02 |
| | | | | | | | | Lots of other warning still left. Will address in subsequent commits. | ||
* | | Ensure a minimum selection width on commands that need it. | Nathan Vegdahl | 2021-07-01 |
| | | |||
* | | Make `Selection`'s normalize and transform methods self-consuming only. | Nathan Vegdahl | 2021-07-01 |
| | | |||
* | | Clean up `Selection` to not use so many allocations. | Nathan Vegdahl | 2021-07-01 |
|/ | |||
* | If completion arrives after we already stopped editing, ignore it | Blaž Hrastnik | 2021-06-30 |
| | |||
* | Make set_unmodified an enum. | Joe Neeman | 2021-06-30 |
| | |||
* | Make Document's format API a little nicer. | Joe Neeman | 2021-06-30 |
| | |||
* | Satisfy clippy. | Joe Neeman | 2021-06-30 |
| | |||
* | Add some async job infrastructure. | Joe Neeman | 2021-06-30 |
| |