Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | 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. | ||
* | Properly fix `last_line` view calculation. | Nathan Vegdahl | 2021-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 Vegdahl | 2021-07-19 |
| | |||
* | Merge branch 'master' into great_line_ending_and_cursor_range_cleanup | Nathan Vegdahl | 2021-07-17 |
|\ | |||
| * | Injection Query Support (#430) | Kirawi | 2021-07-11 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * wip * fixed unsafe * fix clippy * move out reference variable * fmt * remove arc * change safety comment | ||
* | | Merge branch 'master' into great_line_ending_and_cursor_range_cleanup | Nathan Vegdahl | 2021-07-06 |
|\| | |||
| * | Fix phantom lines in some CRLF files. | Nathan Vegdahl | 2021-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. | ||
| * | Fix rendering issues for infobox | Ivan Tham | 2021-07-04 |
| | | |||
| * | Add infobox | Ivan Tham | 2021-07-04 |
| | | |||
* | | Allow last line in file to lack a line break character. | Nathan Vegdahl | 2021-07-02 |
| | | |||
* | | Merge branch 'master' into great_line_ending_and_cursor_range_cleanup | 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. | ||
* | | Add `Range` methods for various kinds of validation. | Nathan Vegdahl | 2021-07-01 |
|/ | |||
* | Add some async job infrastructure. | Joe Neeman | 2021-06-30 |
| | |||
* | ui: Use a box drawing character vertical line for splits | Blaž Hrastnik | 2021-06-29 |
| | |||
* | ui: Simplify conditional | Blaž Hrastnik | 2021-06-27 |
| | |||
* | Merge tab & char rendering code | Blaž Hrastnik | 2021-06-27 |
| | |||
* | This char_index is unused | Blaž Hrastnik | 2021-06-27 |
| | |||
* | Allocate the tab stop only once | Blaž Hrastnik | 2021-06-27 |
| | |||
* | Extract the merge "operator" into helix-core | Blaž Hrastnik | 2021-06-27 |
| | |||
* | Appease clippy | Blaž Hrastnik | 2021-06-27 |
| | |||
* | Turn diagnostics rendering into span injection too | Blaž Hrastnik | 2021-06-27 |
| | |||
* | Simplify selection rendering by injecting highlight scopes | Blaž Hrastnik | 2021-06-27 |
| | |||
* | Fix silly mistake in previous phantom line bug fix. | Nathan Vegdahl | 2021-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 Vegdahl | 2021-06-26 |
| | | | | | | This resulted in phantom blank lines in files with CRLF line endings, but could potentially have manifested with other graphemes as well. | ||
* | reverse the dependency between helix-tui and helix-view (#366) | Keith Simmons | 2021-06-25 |
| | | | | | | | | | * reverse the dependency between helix-tui and helix-view by moving a fiew types to view * fix tests * clippy and format fixes Co-authored-by: Keith Simmons <keithsim@microsoft.com> | ||
* | Fix previous broken refactor key into helix-view | Ivan Tham | 2021-06-24 |
| | | | | | | | | Need to be used for autoinfo Revert "Revert "Refactor key into helix-view"" This reverts commit 10f9f72232f5789323d689bf0f9cd359715770d6. | ||
* | Patch the primary cursor with insert and select styles | wojciechkepka | 2021-06-23 |
| | |||
* | Refactor, add `ui.cursor.primary` | wojciechkepka | 2021-06-23 |
| | |||
* | Add ability to theme primary selecition | wojciechkepka | 2021-06-23 |
| | |||
* | Add ability to theme cursor | wojciechkepka | 2021-06-23 |
| | |||
* | Increment char_index by grapheme char count. | Nathan Vegdahl | 2021-06-23 |
| | | | | It was just assuming single-char graphemes before. | ||
* | minor: Remove old TODOs | Blaž Hrastnik | 2021-06-22 |
| | |||
* | Merge pull request #224 from helix-editor/line_ending_detection | Blaž Hrastnik | 2021-06-22 |
|\ | | | | | Line ending detection | ||
| * | Merge branch 'master' of github.com:helix-editor/helix into ↵ | Nathan Vegdahl | 2021-06-20 |
| |\ | | | | | | | | | | | | | | | | | | | line_ending_detection Rebasing was making me manually fix conflicts on every commit, so merging instead. | ||
| * | | Misc fixes and clean up of line ending detect code. | Nathan Vegdahl | 2021-06-20 |
| | | | |||
| * | | Merge remote-tracking branch 'origin/master' into line_ending_detection | Jan Hrastnik | 2021-06-19 |
| |\ \ | |||
| * | | | trying out line ending helper functions in commands.rs | Jan Hrastnik | 2021-06-16 |
| | | | | |||
| * | | | rebase on branch line_ending_detection | Jan Hrastnik | 2021-06-16 |
| | | | | |||
* | | | | Add progress spinners to status line | wojciechkepka | 2021-06-21 |
| |_|/ |/| | | |||
* | | | Fix overflow | wojciechkepka | 2021-06-19 |
| | | | |||
* | | | Revert "Refactor key into helix-view" | Blaž Hrastnik | 2021-06-19 |
| |/ |/| | | | | | | | | | Did not use defaults when custom keymap was used This reverts commit ca806d4f852e934651132fc9570a6110e30f646d. | ||
* | | Refactor key into helix-view | Ivan Tham | 2021-06-19 |
| | | | | | | | | Now also make use of Deserialize for Config. | ||
* | | Add `ui.statusline.inactive`, use `ui.statusline` for statusline text | wojciechkepka | 2021-06-18 |
| | | |||
* | | Replace `Editor::current` by a macro | Benoît CORTIER | 2021-06-18 |
| | | | | | | | | | | | | | | | | | | This is necessary to workaround ownership issues across function calls. The issue notably arised when implementing the registers into `Editor` and I was getting annoyed again when implementing copy/pasting into system clipboard. The problem is addressed by using macro calls instead of function calls. There is no notable side effect. | ||
* | | Configurable keys 2 (Mapping keys to commands) (#268) | PabloMansanet | 2021-06-17 |
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add convenience/clarity wrapper for Range initialization * Add keycode parse and display methods * Add remapping functions and tests * Implement key remapping * Add remapping book entry * Use raw string literal for toml * Add command constants * Make command functions private * Map directly to commands * Match key parsing/displaying to Kakoune * Formatting pass * Update documentation * Formatting * Fix example in the book * Refactor into single config file * Formatting * Refactor configuration and add keymap newtype wrappers * Address first batch of PR comments * Replace FromStr with custom deserialize | ||
* | Add theme key for selected line number | Gokul Soumya | 2021-06-16 |
| | | | | | | | | | | | Adds `ui.linenr.selected` which controls highlight of linu numbes which have cursors on. - Fallback to linenr if linenr.selected is missing - Update docs and themes - Add TODOs for themes with temporary linenr.selected | ||
* | Add cursor kind to separate hidden cursor from pos | Ivan Tham | 2021-06-15 |
| | | | | | Now IME cursor position should be correct since we can still set cursor position without drawing the cursor. | ||
* | Remove RwLock for registers | Benoît CORTIER | 2021-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. |