Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
... | ||||
* | | Fix append mode, and make insertion always happen at head of range. | Nathan Vegdahl | 2021-07-23 | |
| | | ||||
* | | Fix ocassional panic when matching brackets. | Nathan Vegdahl | 2021-07-23 | |
| | | ||||
* | | Revert display-width-based vertical cursor movement. | Nathan Vegdahl | 2021-07-22 | |
| | | | | | | | | Still needs to be done, but should be part of a separate PR. | |||
* | | Calculate the line that the range head is on correctly. | Nathan Vegdahl | 2021-07-22 | |
| | | ||||
* | | Fix selections not being modified quite correctly with text edits. | Nathan Vegdahl | 2021-07-21 | |
| | | ||||
* | | Fixes for misc bugs with view movement. | Nathan Vegdahl | 2021-07-21 | |
| | | ||||
* | | Fix comment toggle command also sometimes toggling the next line. | 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 `Selection::push()` to make the pushed range primary. | Nathan Vegdahl | 2021-07-20 | |
| | | | | | | | | Apparently I accidentally deleted that behavior in the cleanup. | |||
* | | Handle edge case in `range_to_target()` correctly. | Nathan Vegdahl | 2021-07-19 | |
| | | ||||
* | | 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 | |
|\| | ||||
| * | Remove ExactSizeIterator requirement on Transaction::change | Blaž Hrastnik | 2021-07-19 | |
| | | | | | | | | Size hint is enough. | |||
| * | 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> | |||
| * | Added option to provide a custom config file to the lsp. (#460) | Cor Peters | 2021-07-18 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added option to provide a custom config file to the lsp. * Simplified lsp loading routine with anyhow * Moved config to language.toml * Fixed test case * Cargo fmt * Revert now-useless changes * Renamed custom_config to config 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. | |||
* | | Merge branch 'master' into great_line_ending_and_cursor_range_cleanup | Nathan Vegdahl | 2021-07-17 | |
|\| | ||||
| * | Dynamically load grammar libraries at runtime | Blaž Hrastnik | 2021-07-14 | |
| | | ||||
| * | Rewritten Rust `highlights.scm` (#425) | Kirawi | 2021-07-08 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * rewrote Rust highlights.scm * wip * wip * wip * wip * fixed type highlighting * wip * rewrite again * moved operators * missing newline * missing newline * update book * fix constructor highlighting * fix constructor highlighting * fix const highlighting * better constructor highlighting * remove dup, bug was my locals.scm file * fixed docs * merge * fixed for highlighting * add yield * remove yield * added yield back * fixed yield highlighting * unecessary | |||
* | | Update surround commands to work with gap indexing. | Nathan Vegdahl | 2021-07-08 | |
| | | ||||
* | | Implement `Range::put()` which manages range movements and extensions. | Nathan Vegdahl | 2021-07-08 | |
| | | | | | | | | | | In particular, this wraps the annoying logic involved in keeping the cursor width to 1 grapheme. | |||
* | | Merge branch 'master' into great_line_ending_and_cursor_range_cleanup | Nathan Vegdahl | 2021-07-06 | |
|\| | ||||
| * | Fix typo on comment in surround | Ivan Tham | 2021-07-03 | |
| | | ||||
| * | Fix surround bug when cursor on same pair | Gokul Soumya | 2021-07-03 | |
| | | | | | | | | | | | | For example when the cursor is _on_ the `'` in `'word'`, the cursor wouldn't move because the search for a matching pair started _from_ the position of the cursor and simply found itself. | |||
| * | 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 | |||
| * | Add missing import | Perry Thompson | 2021-07-02 | |
| | | ||||
* | | Make vertical selection movement work properly. | Nathan Vegdahl | 2021-07-06 | |
| | | ||||
* | | Make horizontal selection movement work properly. | Nathan Vegdahl | 2021-07-02 | |
| | | ||||
* | | Allow last line in file to lack a line break character. | Nathan Vegdahl | 2021-07-02 | |
| | | ||||
* | | Fix a couple additional `unused` warnings after merge. | Nathan Vegdahl | 2021-07-02 | |
| | | ||||
* | | Merge branch 'master' into great_line_ending_and_cursor_range_cleanup | Nathan Vegdahl | 2021-07-02 | |
|\| | ||||
| * | Fixed last `unused` warning. | Nathan Vegdahl | 2021-07-02 | |
| | | ||||
| * | Fix one of the two remaining warnings. | Nathan Vegdahl | 2021-07-02 | |
| | | | | | | | | One of them was a lot more obvious than I thought. | |||
| * | Fix all remaining warnings in helix-core except for two. | Nathan Vegdahl | 2021-07-02 | |
| | | | | | | | | | | I'm not sure how to address them, because they look like they might be bugs, and code is involved. Will poke the relevant people. | |||
| * | Remove #[allow(unused)] from helix-core, and fix unused imports. | Nathan Vegdahl | 2021-07-02 | |
| | | | | | | | | Still a bunch more warnings to fix in core, but it's a start. | |||
* | | 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 | |
| | | ||||
* | | Better validation method APIs for `Range`. | Nathan Vegdahl | 2021-07-01 | |
| | | | | | | | | | | This way they do less work, are more specific to what we actually need, and they compose. | |||
* | | Add `Range` methods for various kinds of validation. | Nathan Vegdahl | 2021-07-01 | |
| | | ||||
* | | Change the `Range` type and associated functions to gap indexing. | Nathan Vegdahl | 2021-07-01 | |
|/ | ||||
* | fix: Correctly merge multiple selection ranges together | Blaž Hrastnik | 2021-06-30 | |
| | | | | Fixes #391 | |||
* | Incorporate long word commands into keymap | PabloMansanet | 2021-06-29 | |
| | ||||
* | Add long word unit tests | PabloMansanet | 2021-06-29 | |
| | ||||
* | Add long word motion implementation | PabloMansanet | 2021-06-29 | |
| | ||||
* | fix ca98210d2016d96d1c441932d7a67bbc6e5eccb7 | Blaž Hrastnik | 2021-06-28 | |
| | ||||
* | fix: insert() | delete() would calculate the new insert incorrectly | Blaž Hrastnik | 2021-06-28 | |
| | | | | Refs #386 | |||
* | Don't crash if diagnostics span past EOF | Blaž Hrastnik | 2021-06-28 | |
| | ||||
* | Extract the merge "operator" into helix-core | Blaž Hrastnik | 2021-06-27 | |
| |