f5c775f
WIP
Nathan Sobo created
f5c775f
WIP
Nathan Sobo created
8432dae
WIP: Start on removing selections from buffer in favor of editor
Nathan Sobo created
f35c419
Return optional transaction ids from undo/redo
This will allow the editor to restore selections that it associated with the start or end of a transaction.
Nathan Sobo created
77defe6
Return optional transaction ids when starting/ending a transaction
If the transaction was nested, we return None. Otherwise we return the transaction id in preparation for editors to maintain their own selection state.
Nathan Sobo created
c8b43e3
Move multi_buffer to editor crate
Nathan Sobo created
6caf016
Get tests passing w/ multibuffer in editor
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
75dd37d
Update multibuffer when buffers' syntax trees or diagnostics change
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
ceff57d
Don't append a trailing newline in singleton MultiBuffer
Max Brunsfeld created
a758bd4
Fill in some missing methods on MultiBuffer, MultiBufferSnapshot
Max Brunsfeld created
5b31c1b
Start making `MultiBuffer` work with a singleton buffer
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
7524974
Get everything compiling again
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
da09247
WIP
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
9c74deb
Finish removing anchor collections from MultiBuffer
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
d9da8ef
Re-implement `edits_since_in_range` in terms of `Locator`
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
c8d5e19
Merge branch 'fragment-locators' into project-diagnostics
Antonio Scandurra created
cb97b7c
Fix diagnostic unit test
Antonio Scandurra created
eeba099
Optimize anchor comparison and take full advantage of fragment IDs
Antonio Scandurra created
5e516f5
Merge branch 'fragment-locators' into HEAD
Max Brunsfeld created
1ed1ec2
Batch anchor resolution, avoid cloning fragment ids when seeking
Max Brunsfeld created
e9c385e
WIP
Antonio Scandurra created
91a7bbb
Fix some of the diagnostic tests and make DiagnosticEntry generic
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
65711b2
Remove anchor collections
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
67686dd
Don't use an enum for anchors and model min/max more implicitly
This will make it easier to serialize an anchor.
Antonio Scandurra created
cbe136c
Implement anchor resolution using locators
Antonio Scandurra created
b7535df
Store only `clock::Local` in `InsertionFragment`
Antonio Scandurra created
dc81b5f
Make remote edit randomized tests pass with locators
Antonio Scandurra created
b4ebe17
Make local edit randomized tests pass with locators
Antonio Scandurra created
dd38eb1
Start on maintaining an insertions tree
I'm correctly assigning fragment ids to all fragments in the fragments tree, but I have a randomized test failure when making sure that the insertions tree matches the state of the fragments tree.
Nathan Sobo created
ec54010
Sketch in type-level changes to track insertion splits
Nathan Sobo created
98f7269
WIP
Nathan Sobo created
4ee404a
Take a cx in MultiBuffer::start_transaction
Nathan Sobo created
87d16c2
Get Editor compiling with MultiBuffer as its buffer
There's a bunch of unimplemented methods in MultiBuffer, but everything compiles. Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo and Max Brunsfeld created
daedf17
Implement Anchor, AnchorRangeMap, SelectionSet in multi_buffer
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
a7634cc
Rename ExcerptList to MultiBuffer
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
5f8e406
Fill out ExcerptList API
This restores the improvements that we had made on the `project-diagnostics-generic` branch. Co-Authored-By: Antonio Scandurra <me@as-cii.com> Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld , Antonio Scandurra , and Nathan Sobo created
a88cff4
Remove lifetime parameter from TextDimension trait
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Antonio Scandurra and Antonio Scandurra created
6a44a74
Consolidate Edit types in editor crate
Max Brunsfeld created
fa37988
Give more specific names to all snapshot and text iterator types
Max Brunsfeld created
bd6e972
Merge pull request #281 from zed-industries/fix-release-asset-redirects
Don't pass GH auth header when following redirects for release assets
Max Brunsfeld created
6d9bf80
Don't pass GH auth header when following redirects for release assets
Max Brunsfeld created
ad33111
Fix assertion in excerpt unit test after fixing edits
Max Brunsfeld created
39cc0ca
Fix Subscription re-export after moving it into its own module
Max Brunsfeld created
102926d
Implement and randomized test excerpt list point translation and clipping
Max Brunsfeld created
09c0c3a
:art: excerpt_list::Chunks::next
Max Brunsfeld created
416033a
Get random excerpts test passing w/ text in range, edits
Max Brunsfeld created
02f42f2
WIP
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo and Max Brunsfeld created
88e3d87
Get randomized test passing on basic excerpt list features
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo and Max Brunsfeld created
4578938
Implement ExcerptList::subscribe
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo and Max Brunsfeld created
a02a299
Get the basic ExcerptList unit test passing again
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo and Max Brunsfeld created
6965117
Allow patches to be composed with edit iterators in addition to other Patches
This can avoid an extra allocation in some cases. Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo and Max Brunsfeld created