Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Go to file
Antonio Scandurra a88b63d83c Ensure FoldMap always contains at least one transform
Previously, when splicing an edit that deleted all transforms, we would
leave the `FoldMap` empty, thus violating a bunch of downstream
invariants and e.g. causing the `BufferRows` iterator to not return any
buffer row.

This commit ensures we always have at least one transform (an isomorphic
one, specifically) and adds additional test coverage for the
`FoldMap::buffer_rows` method by adding it to the randomized tests.
2021-03-29 10:18:28 +02:00
.vscode Pass workspace path to zed when debugging it in VS Code 2021-03-26 14:14:23 +01:00
gpui Avoid nested structs in vertex function return types 2021-03-28 19:04:36 -07:00
zed Ensure FoldMap always contains at least one transform 2021-03-29 10:18:28 +02:00
.gitignore Get basic graphics rendering via Metal 2021-03-20 22:19:26 -06:00
Cargo.lock WIP 2021-03-23 19:11:56 +01:00
Cargo.toml Start rebuilding with a cleanly-separated UI framework 2021-02-20 10:02:34 -07:00