Commit log

119d44c Remove test-only `transaction_group_interval` method from `MultiBuffer`

Antonio Scandurra created

2d1ff8f Clip anchors created on MultiBuffer's trailing newlines or headers

Antonio Scandurra created

1b67f19 Implement `MultiBuffer::set_active_selections`

Antonio Scandurra created

920daa8 Remove stray log statement

Antonio Scandurra created

163ce95 Implement `MultiBufferSnapshot::remote_selections_in_range`

Antonio Scandurra created

174b37c Assume all excerpts in the multi buffer have the same language for now

Antonio Scandurra created

04ffca9 Keep a separate diagnostic update count and parse count in MultiBuffer

Antonio Scandurra created

9e15c57 Display a rudimentary project diagnostic view on `alt-shift-d`

Antonio Scandurra created

4efdc53 WIP

Max Brunsfeld created

0b1c279 Add Project::open_buffer method

Max Brunsfeld created

fe571f1 Store diagnostic summaries on worktrees

Max Brunsfeld created

6ab795c Handle buffer deduping in the worktree instead of in workspace

Click to expand commit body
Previously, buffers were only deduped by file if they were opened
through Workspace::open_entry

Max Brunsfeld created

52b8e3d Get tests passing after diagnostic + selection changes

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Max Brunsfeld and Nathan Sobo created

418a9a3 Get things compiling with diagnostics on worktree

Click to expand commit body
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

85674ba WIP

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Antonio Scandurra and Nathan Sobo created

6645e28 First attempt at implementing `MultiBuffer::edit_internal`

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Antonio Scandurra and Nathan Sobo created

c984b39 Show remote collaborators' active selections

Antonio Scandurra created

2adf11e Write a simple unit test for TreeMap and fix bug in `remove`

Antonio Scandurra created

cdbcbdf Test undo/redo at editor layer, including selection restoration

Nathan Sobo created

44cd0be Restore selections upon undo/redo of edits performed in the current editor

Nathan Sobo created

1e7184e Get selections rendering again when local selections are owned by Editor

Nathan Sobo created

4dd0752 More messy progress towards selections in editors

Nathan Sobo created

0639c83 Relax TreeMap value bounds, fix warnings, simplify cmp

Nathan Sobo created

49d1c9d Introduce sum_tree::TreeMap<K, V>

Click to expand commit body
I think this will be useful to avoid cloning HashMaps in certain cases such as snapshots.

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

Click to expand commit body
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

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

c8b43e3 Move multi_buffer to editor crate

Nathan Sobo created

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

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

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

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Antonio Scandurra and Nathan Sobo created

7524974 Get everything compiling again

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Antonio Scandurra and Nathan Sobo created

da09247 WIP

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Antonio Scandurra and Nathan Sobo created

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

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

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

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Antonio Scandurra and Nathan Sobo created

65711b2 Remove anchor collections

Click to expand commit body
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

Click to expand commit body
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