aboutsummaryrefslogtreecommitdiff
path: root/helix-core/src
Commit message (Collapse)AuthorAge
...
* | Add `Range` methods for various kinds of validation.Nathan Vegdahl2021-07-01
| |
* | Change the `Range` type and associated functions to gap indexing.Nathan Vegdahl2021-07-01
|/
* fix: Correctly merge multiple selection ranges togetherBlaž Hrastnik2021-06-30
| | | | Fixes #391
* Incorporate long word commands into keymapPabloMansanet2021-06-29
|
* Add long word unit testsPabloMansanet2021-06-29
|
* Add long word motion implementationPabloMansanet2021-06-29
|
* fix ca98210d2016d96d1c441932d7a67bbc6e5eccb7Blaž Hrastnik2021-06-28
|
* fix: insert() | delete() would calculate the new insert incorrectlyBlaž Hrastnik2021-06-28
| | | | Refs #386
* Don't crash if diagnostics span past EOFBlaž Hrastnik2021-06-28
|
* Extract the merge "operator" into helix-coreBlaž Hrastnik2021-06-27
|
* Release 0.3.0Blaž 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.
* Skip enclosed pairs in surroundGokul Soumya2021-06-24
| | | | | | | | | Surround operations previously ignored other pairs that are enclosed within which should be skipped. For example if the cursor is on the `,` in `{{a},{b}}`, doing `md{` previously would delete the `{` on the left of `a` and `}` on the right of `b` instead of the outermost braces. This commit corrects this behavior.
* Handle erroneously ignored case in RopeGraphemes iterator.Nathan Vegdahl2021-06-24
|
* fix: crash with ctrl-c on empty fileBlaž Hrastnik2021-06-23
|
* Handle non-UTF8 filesShafkath Shuhan2021-06-23
|
* Missed some items in the CRLF PR.Nathan Vegdahl2021-06-23
|
* fix: Select matching at the start of the doc could crash. Fixes #346Blaž Hrastnik2021-06-23
|
* Correctly identify pairs when cursor on pairGokul Soumya2021-06-22
|
* Refactor and add tests for surroundGokul Soumya2021-06-22
|
* Add more surround pair charactersGokul Soumya2021-06-22
|
* Add surround keybindsGokul Soumya2021-06-22
|
* Flesh out the line ending utility unit tests.Nathan Vegdahl2021-06-21
|
* Fix clippy warnings.Nathan Vegdahl2021-06-21
|
* Add function to get the line ending of a str slice.Nathan Vegdahl2021-06-21
| | | | This is needed in some places.
* Silence clippy warning.Nathan Vegdahl2021-06-20
|
* 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.
| * Re-export unicode crates from helix_coreBlaž Hrastnik2021-06-20
| |
| * Only reconfiure highlights when setting themewojciechkepka2021-06-19
| |
| * Add ability to change theme on editorwojciechkepka2021-06-19
| |
* | 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
| |
* | added the line_end helper functionJan Hrastnik2021-06-20
| |
* | changed some hardcoded newlines, removed a else if in line_ending.rsJan Hrastnik2021-06-19
| |
* | Merge remote-tracking branch 'origin/master' into line_ending_detectionJan Hrastnik2021-06-19
|\|
| * 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`
* | ran cargo fmtJan Hrastnik2021-06-19
| |
* | added get_line_ending from pr commentJan Hrastnik2021-06-19
| |
* | applied changes from pr reviewJan Hrastnik2021-06-17
| |
* | trying out line ending helper functions in commands.rsJan Hrastnik2021-06-16
| |
* | added some tests and a line_ending helper function in document.rsJan Hrastnik2021-06-16
| |
* | fix typoJan Hrastnik2021-06-16
| |
* | added more changes from pr review for line_ending_detectionJan Hrastnik2021-06-16
| |
* | resolved conflict in rebaseJan Hrastnik2021-06-16
| |
* | ran cargo clippy and cargo fmtJan Hrastnik2021-06-16
| |
* | rebase on branch line_ending_detectionJan Hrastnik2021-06-16
|/
* 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.
* Address PR comments.Nathan Vegdahl2021-06-15
| | | | | | - Move char functions into their own module under helix_core. - Use matches!() macro where appropriate. - Use a static lifetime on indent_unit() now that we can.
* Add ctrl-w for promptIvan Tham2021-06-14
|