diff options
author | Pascal Kuthe | 2023-03-02 23:34:05 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2023-03-09 04:01:02 +0000 |
commit | aabc8af95dd1c093da4b67151f6a7026a85e9c0e (patch) | |
tree | bddf47edd063c70399ecfea80d9191f63ac400b2 /helix-term/src/ui/markdown.rs | |
parent | 8cb7cdfd7a01b9cb50b9142e9a5d133bd1e23256 (diff) |
correctly store snapshots when repeating insert-mode actions
Repeating completions currently crates a savepoint when a completion
popup was triggered (so after the request completed). Just like for
normal completions the savepoint must be created at the request.
The occurrence of the completion request was previously not saved in
`last_insert`. To that end a new `InsertEvent::RequestCompletion`
variant has been added. When replayed this event creates a snapshot
that is "actived" by the `TriggerCompletion` event and subsequently
used during any `InsertEvent::CompletiuonApply` events.
Diffstat (limited to 'helix-term/src/ui/markdown.rs')
0 files changed, 0 insertions, 0 deletions