Commit log
d25ec39
Rework `BufferRows` iterator to pass the randomized tests
Click to expand commit body
...without booleans.
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Co-Authored-By: Max Brunsfeld <max@zed.dev>
Antonio Scandurra
,
Nathan Sobo
, and
Max Brunsfeld
created
712616d
Start on a randomized test for `BlockMap::buffer_rows`
Antonio Scandurra
created
1cc7615
Implement basic version of BlockMap::buffer_rows
Click to expand commit body
Passed 1 simple test
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
76ee447
Fix minor bug in BlockMap::clip_point
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
7d1ba64
Implement BlockMapWriter::remove
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
7b12c1c
Enable soft wrap in randomized test of BlockMap
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
862b988
Position blocks above/below buffer lines, even when the anchored line is soft-wrapped
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
Max Brunsfeld
created
3bd4542
Remove bias parameter when converting display points to buffer points
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
213b94a
Remove bias parameter from to_display_point
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
8b1b359
Fix group_ids assertions in diagnostics test
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
0a704b8
Fix infinite loop in BlockMap::highlighted_chunks
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
b4bc790
Propagate wrap edits to block map when folding / unfolding
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
d2f4d37
Get BlockMap randomized test passing w/o soft wraps
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
3498e92
Get BlockMap unit test passing
Max Brunsfeld
created
Antonio Scandurra
created
Antonio Scandurra
created
Antonio Scandurra
created
Antonio Scandurra
created
Antonio Scandurra
created
cebab56
Make `BlockMap` randomized test pass in low-complexity cases
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
296944e
Make `BlockMap` unit test pass with 2d coordinates
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
Nathan Sobo
created
e644c08
WIP: Start moving BlockMap to a 2d indexing scheme
Nathan Sobo
created
5832153
Hack: Synthesize a newline before blocks below the last line of the buffer
Nathan Sobo
created
b6e6daf
Account for trailing below blocks in BlockSnapshot::max_point
Nathan Sobo
created
d6bc05c
Fix BlockMap unit test by skipping below blocks when advancing transforms
Nathan Sobo
created
c9cbeaf
Start on BlockSnapshot::clip_point
Click to expand commit body
Not sure it works yet. Ran into another failure in the unit tests.
Nathan Sobo
created
364fab7
wip - wiring up blockmap into displaymap
Max Brunsfeld
created
c278503
Make block insertion work in simple cases
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
2e61a58
Fix compile errors
Max Brunsfeld
created
e605a5e
Sketch an initial implementation for block_map::HighlightedChunks
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
Max Brunsfeld
created
Max Brunsfeld
created
c8e47a8
Start on a randomized test for `BlockMap`
Click to expand commit body
This is currently passing and ensures we maintain the input coordinate
space correctly.
Co-Authored-By: Max Brunsfeld <max@zed.dev>
Antonio Scandurra
and
Max Brunsfeld
created
d721c2b
Remove redundant code path in `Patch::compose`
Antonio Scandurra
created
3f11b8a
Maintain row edits since last sync in `WrapMap`
Antonio Scandurra
created
4e32fab
Add text manipulation facilities to `Rope` for test purposes
Antonio Scandurra
created
fe786f3
Init `env_logger` in the `editor` crate for tests only
Antonio Scandurra
created
b9c459e
Use `log::info` instead of `println` in patch randomized tests
Antonio Scandurra
created
Antonio Scandurra
created
f49c9db
Make `Patch::compose` work
Antonio Scandurra
created
6e882bc
Avoid composing edits together for now
Antonio Scandurra
created
Nathan Sobo
created
Nathan Sobo
created
Nathan Sobo
created
0159019
Simplify assertions in randomized patch test, fix some patch bugs
Max Brunsfeld
created
1f2eb9d
Add patch unit tests, get composition working for ops <= 3
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
Antonio Scandurra
created
Antonio Scandurra
created