Commit log
77defe6
Return optional transaction ids when starting/ending a transaction
Click to expand commit body
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
4 years ago
c8b43e3
Move multi_buffer to editor crate
Nathan Sobo
created
4 years ago
6caf016
Get tests passing w/ multibuffer in editor
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
75dd37d
Update multibuffer when buffers' syntax trees or diagnostics change
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
ceff57d
Don't append a trailing newline in singleton MultiBuffer
Max Brunsfeld
created
4 years ago
a758bd4
Fill in some missing methods on MultiBuffer, MultiBufferSnapshot
Max Brunsfeld
created
4 years ago
5b31c1b
Start making `MultiBuffer` work with a singleton buffer
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
7524974
Get everything compiling again
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
9c74deb
Finish removing anchor collections from MultiBuffer
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
d9da8ef
Re-implement `edits_since_in_range` in terms of `Locator`
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
c8d5e19
Merge branch 'fragment-locators' into project-diagnostics
Antonio Scandurra
created
4 years ago
cb97b7c
Fix diagnostic unit test
Antonio Scandurra
created
4 years ago
eeba099
Optimize anchor comparison and take full advantage of fragment IDs
Antonio Scandurra
created
4 years ago
5e516f5
Merge branch 'fragment-locators' into HEAD
Max Brunsfeld
created
4 years ago
1ed1ec2
Batch anchor resolution, avoid cloning fragment ids when seeking
Max Brunsfeld
created
4 years ago
Antonio Scandurra
created
4 years ago
91a7bbb
Fix some of the diagnostic tests and make DiagnosticEntry generic
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
65711b2
Remove anchor collections
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
67686dd
Don't use an enum for anchors and model min/max more implicitly
Click to expand commit body
This will make it easier to serialize an anchor.
Antonio Scandurra
created
4 years ago
cbe136c
Implement anchor resolution using locators
Antonio Scandurra
created
4 years ago
b7535df
Store only `clock::Local` in `InsertionFragment`
Antonio Scandurra
created
4 years ago
dc81b5f
Make remote edit randomized tests pass with locators
Antonio Scandurra
created
4 years ago
b4ebe17
Make local edit randomized tests pass with locators
Antonio Scandurra
created
4 years ago
dd38eb1
Start on maintaining an insertions tree
Click to expand commit body
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
4 years ago
ec54010
Sketch in type-level changes to track insertion splits
Nathan Sobo
created
4 years ago
Nathan Sobo
created
4 years ago
4ee404a
Take a cx in MultiBuffer::start_transaction
Nathan Sobo
created
4 years ago
87d16c2
Get Editor compiling with MultiBuffer as its buffer
Click to expand commit body
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
4 years ago
daedf17
Implement Anchor, AnchorRangeMap, SelectionSet in multi_buffer
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
a7634cc
Rename ExcerptList to MultiBuffer
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
5f8e406
Fill out ExcerptList API
Click to expand commit body
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
4 years ago
a88cff4
Remove lifetime parameter from TextDimension trait
Click to expand commit body
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Antonio Scandurra
and
Antonio Scandurra
created
4 years ago
6a44a74
Consolidate Edit types in editor crate
Max Brunsfeld
created
4 years ago
fa37988
Give more specific names to all snapshot and text iterator types
Max Brunsfeld
created
4 years ago
bd6e972
Merge pull request #281 from zed-industries/fix-release-asset-redirects
Click to expand commit body
Don't pass GH auth header when following redirects for release assets
Max Brunsfeld
created
4 years ago
6d9bf80
Don't pass GH auth header when following redirects for release assets
Max Brunsfeld
created
4 years ago
ad33111
Fix assertion in excerpt unit test after fixing edits
Max Brunsfeld
created
4 years ago
39cc0ca
Fix Subscription re-export after moving it into its own module
Max Brunsfeld
created
4 years ago
102926d
Implement and randomized test excerpt list point translation and clipping
Max Brunsfeld
created
4 years ago
09c0c3a
:art: excerpt_list::Chunks::next
Max Brunsfeld
created
4 years ago
416033a
Get random excerpts test passing w/ text in range, edits
Max Brunsfeld
created
4 years ago
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
4 years ago
88e3d87
Get randomized test passing on basic excerpt list features
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
4 years ago
4578938
Implement ExcerptList::subscribe
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
4 years ago
a02a299
Get the basic ExcerptList unit test passing again
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
4 years ago
6965117
Allow patches to be composed with edit iterators in addition to other Patches
Click to expand commit body
This can avoid an extra allocation in some cases.
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
4 years ago
cff610e
Rename FragmentList to ExcerptList
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
4 years ago
42eba72
Introduce `Buffer::edits_since_in_range`
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Co-Authored-By: Max Brunsfeld <max@zed.dev>
Antonio Scandurra
,
Nathan Sobo
, and
Max Brunsfeld
created
4 years ago
e37908c
Start on a simple randomized test for `FragmentList`
Antonio Scandurra
created
4 years ago
Page 53 of 95