95137ec
WIP
Antonio Scandurra created
95137ec
WIP
Antonio Scandurra created
e23965e
Implement `MultiBuffer::reversed_chars_at`
Antonio Scandurra created
9cbb680
Fix panic on creation of a left-biased anchor at the end of MultiBuffer
Antonio Scandurra created
7bcce23
Fix compile error in server integration tests
Antonio Scandurra created
6c5b27a
Group diagnostics by primary
Render primary message above the excerpt and supporting messages as block decorations with a `Below` disposition. This is still super rough. Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo and Max Brunsfeld created
e1a2897
Render basic diagnostic messages in project diagnostics view
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo and Max Brunsfeld created
ad05c0c
Implement MultiBufferSnapshot::excerpt_headers_in_range
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo and Max Brunsfeld created
60e2c6b
Fix multibuffer anchors before the ends of excerpts
Max Brunsfeld created
06e2411
Fix assertions in test for selection restoration after undo/redo
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
e38c181
Update selections on text insertion using anchors
The delta-based approach doesn't work for multi-excerpt buffers. Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
4ed96bb
Fix assertion in multibuffer history test
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
bf9daf1
Allow left-biased anchors at the beginnings of excerpts
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Max Brunsfeld and Antonio Scandurra created
358a6ff
Implement `MultiBufferSnapshot::contains_str_at`
Antonio Scandurra created
08e9f3e
Maintain a different undo/redo stack in `MultiBuffer`
This only applies to singleton mode.
Antonio Scandurra created
523cbe7
Return the transaction id after grouping in `end_transaction_at`
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
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
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
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
418a9a3
Get things compiling with diagnostics on worktree
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
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
6645e28
First attempt at implementing `MultiBuffer::edit_internal`
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>
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
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