helix-mods/helix-term/tests/test
Skyler Hawthorne d706194597 chore(write): serialize write operations within a Document
The way that document writes are handled are by submitting them to the
async job pool, which are all executed opportunistically out of order. It
was discovered that this can lead to write inconsistencies when there
are multiple writes to the same file in quick succession.

This seeks to fix this problem by removing document writes from the
general pool of jobs and into its own specialized event. Now when a
user submits a write with one of the write commands, a request is simply
queued up in a new mpsc channel that each Document makes to handle its own
writes. This way, if multiple writes are submitted on the same document,
they are executed in order, while still allowing concurrent writes for
different documents.
2022-10-18 22:31:38 -04:00
..
auto_indent.rs rename test helpers 2022-06-18 23:57:47 -04:00
auto_pairs.rs rename test helpers 2022-06-18 23:57:47 -04:00
commands.rs Fix backwards selection duplication widening bug (#2945) 2022-07-05 07:51:15 +09:00
helpers.rs factor new Application with file arg to function 2022-06-19 00:00:31 -04:00
movement.rs Fix append cursor location when selection anchor is at end of document (#4147) 2022-10-12 08:34:35 -05:00
prompt.rs fix: Recalculate completion when going through prompt history (#3193) 2022-09-01 01:26:21 +09:00
write.rs chore(write): serialize write operations within a Document 2022-10-18 22:31:38 -04:00