Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | 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. | ||
* | 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. | ||
* | add alternate file (#223) | Robin | 2021-06-12 |
| | | | | | | | | | | | | | * add alternate file inspired by vim ctrl-6/kak ga commands. the alternate file is kept per view * apply feedback from #223 * rename to last_accessed * add ga doc * add fail message for ga | ||
* | lsp: Display LSP progress messages (#216) | Wojciech Kępka | 2021-06-11 |
| | |||
* | Derive debug without feature | Ivan Tham | 2021-06-10 |
| | | | | Note that this also removed those `finish_non_exhaustive()`. | ||
* | Implement Debug for data structure as a feature | notoria | 2021-06-10 |
| | |||
* | Support go to line 1 | Zheming Li | 2021-06-08 |
| | |||
* | Don't panic on LSP not starting | Egor Karavaev | 2021-06-08 |
| | |||
* | Implement register selection | Benoît CORTIER | 2021-06-07 |
| | | | | | | User can select register to yank into with the " command. A new state is added to `Editor` and `commands::Context` structs. This state is managed by leveraging a new struct `RegisterSelection`. | ||
* | Create document if it doesn't exist on save | Wojciech Kępka | 2021-06-06 |
| | |||
* | Try to detect language when document file path is set | Blaž Hrastnik | 2021-06-04 |
| | | | | Fixes #91 | ||
* | Fix split sizes getting out of sync with the terminal size, refs #69 | Blaž Hrastnik | 2021-06-03 |
| | |||
* | Address clippy lint. | Blaž Hrastnik | 2021-05-17 |
| | |||
* | If switching to a previously open buffer in the same view, keep it's old offset | Blaž Hrastnik | 2021-05-17 |
| | |||
* | Only send the document close event if we're closing the underlying buffer | Blaž Hrastnik | 2021-05-07 |
| | |||
* | View::new is infallible, so is editor.switch/new_file. | Blaž Hrastnik | 2021-05-07 |
| | |||
* | Allow switching views back to scratch buffers. | Blaž Hrastnik | 2021-05-07 |
| | |||
* | Canonicalize the path on open to avoid duplicates. | Blaž Hrastnik | 2021-05-07 |
| | |||
* | Add the :new command, don't crash if saving without filename. | Blaž Hrastnik | 2021-05-07 |
| | |||
* | clippy lint | Blaž Hrastnik | 2021-05-06 |
| | |||
* | Start moving more LSP calls into callbacks/futures without capturing self | Blaž Hrastnik | 2021-05-06 |
| | |||
* | Tokio migration. | Blaž Hrastnik | 2021-05-06 |
| | |||
* | Load config files from ~/.config/helix, fallback to defaults. | Blaž Hrastnik | 2021-04-07 |
| | |||
* | Allow starting hx without a file. A new blank file will be created. | Blaž Hrastnik | 2021-04-06 |
| | |||
* | Simplify code by providin cx.current() = (view, doc). | Blaž Hrastnik | 2021-04-01 |
| | |||
* | clippy lint | Blaž Hrastnik | 2021-03-31 |
| | |||
* | Weave through view_id references so that views into one file have ↵ | Blaž Hrastnik | 2021-03-31 |
| | | | | independent selects. | ||
* | view: document.rs cleanup | Blaž Hrastnik | 2021-03-29 |
| | |||
* | Load theme from toml file. | Blaž Hrastnik | 2021-03-25 |
| | |||
* | Trivial jumplist implementation. | Blaž Hrastnik | 2021-03-24 |
| | |||
* | Reset first_line when changing files. | Blaž Hrastnik | 2021-03-24 |
| | |||
* | editor.open can now either replace the current view or open in a split. | Blaž Hrastnik | 2021-03-24 |
| | |||
* | Derive a separate ViewId type. | Blaž Hrastnik | 2021-03-24 |
| | |||
* | Drop refcell use, make view simply ref doc.id. | Blaž Hrastnik | 2021-03-23 |
| | |||
* | Store Document on the Editor type, make View reference it. | Blaž Hrastnik | 2021-03-22 |
| | |||
* | Merge some imports. | Blaž Hrastnik | 2021-03-22 |
| | |||
* | Expose doc.syntax() via accessor. | Blaž Hrastnik | 2021-03-18 |
| | |||
* | Hold a reference to executor on the Editor type. | Blaž Hrastnik | 2021-03-16 |
| | |||
* | Fix goto code before merging. | Blaž Hrastnik | 2021-03-16 |
| | |||
* | preparing for gd merge | Jan Hrastnik | 2021-03-16 |
| | |||
* | editor.open now checks if view already exists | Jan Hrastnik | 2021-03-16 |
| | |||
* | lsp: Wire up didClose notification on editor.close. | Blaž Hrastnik | 2021-03-16 |
| | |||
* | lsp: Pass through language_id on didOpenTextDocument. | Blaž Hrastnik | 2021-03-16 |
| | |||
* | Implement keep_selections (filter selections on regex). | Blaž Hrastnik | 2021-03-15 |
| | |||
* | Configure language servers via LanguageConfiguration. | Blaž Hrastnik | 2021-03-14 |
| | |||
* | editor: We still want to be able to calculate cursor pos. | Blaž Hrastnik | 2021-03-02 |
| | |||
* | minor, fix clippy lint | Blaž Hrastnik | 2021-02-25 |
| | |||
* | commands: Implement count for a few more commands. | Blaž Hrastnik | 2021-02-25 |
| | |||
* | Make some Document fields read-only. | Blaž Hrastnik | 2021-02-21 |
| |