Commit log
ae0fa75
Start testing the integration of display layers with `MultiBuffer`s
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
59121a2
Forward notifications from `Buffer` in `MultiBuffer`
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
437145a
Remove assertion and don't consume 0 bytes
Click to expand commit body
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Nathan Sobo
and
Antonio Scandurra
created
4 years ago
fbba417
Implement MultiBuffer::bytes_in_range
Click to expand commit body
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Nathan Sobo
and
Antonio Scandurra
created
4 years ago
Antonio Scandurra
created
4 years ago
e23965e
Implement `MultiBuffer::reversed_chars_at`
Antonio Scandurra
created
4 years ago
9cbb680
Fix panic on creation of a left-biased anchor at the end of MultiBuffer
Antonio Scandurra
created
4 years ago
7bcce23
Fix compile error in server integration tests
Antonio Scandurra
created
4 years ago
6c5b27a
Group diagnostics by primary
Click to expand commit body
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
4 years ago
e1a2897
Render basic diagnostic messages in project diagnostics view
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
4 years ago
ad05c0c
Implement MultiBufferSnapshot::excerpt_headers_in_range
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
4 years ago
60e2c6b
Fix multibuffer anchors before the ends of excerpts
Max Brunsfeld
created
4 years ago
06e2411
Fix assertions in test for selection restoration after undo/redo
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
e38c181
Update selections on text insertion using anchors
Click to expand commit body
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
4 years ago
4ed96bb
Fix assertion in multibuffer history test
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
4 years ago
bf9daf1
Allow left-biased anchors at the beginnings of excerpts
Click to expand commit body
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Max Brunsfeld
and
Antonio Scandurra
created
4 years ago
358a6ff
Implement `MultiBufferSnapshot::contains_str_at`
Antonio Scandurra
created
4 years ago
08e9f3e
Maintain a different undo/redo stack in `MultiBuffer`
Click to expand commit body
This only applies to singleton mode.
Antonio Scandurra
created
4 years ago
523cbe7
Return the transaction id after grouping in `end_transaction_at`
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
119d44c
Remove test-only `transaction_group_interval` method from `MultiBuffer`
Antonio Scandurra
created
4 years ago
2d1ff8f
Clip anchors created on MultiBuffer's trailing newlines or headers
Antonio Scandurra
created
4 years ago
1b67f19
Implement `MultiBuffer::set_active_selections`
Antonio Scandurra
created
4 years ago
920daa8
Remove stray log statement
Antonio Scandurra
created
4 years ago
163ce95
Implement `MultiBufferSnapshot::remote_selections_in_range`
Antonio Scandurra
created
4 years ago
174b37c
Assume all excerpts in the multi buffer have the same language for now
Antonio Scandurra
created
4 years ago
04ffca9
Keep a separate diagnostic update count and parse count in MultiBuffer
Antonio Scandurra
created
4 years ago
9e15c57
Display a rudimentary project diagnostic view on `alt-shift-d`
Antonio Scandurra
created
4 years ago
Max Brunsfeld
created
4 years ago
0b1c279
Add Project::open_buffer method
Max Brunsfeld
created
4 years ago
fe571f1
Store diagnostic summaries on worktrees
Max Brunsfeld
created
4 years ago
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
4 years ago
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
4 years ago
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
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
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
4 years ago
c984b39
Show remote collaborators' active selections
Antonio Scandurra
created
4 years ago
2adf11e
Write a simple unit test for TreeMap and fix bug in `remove`
Antonio Scandurra
created
4 years ago
cdbcbdf
Test undo/redo at editor layer, including selection restoration
Nathan Sobo
created
4 years ago
44cd0be
Restore selections upon undo/redo of edits performed in the current editor
Nathan Sobo
created
4 years ago
1e7184e
Get selections rendering again when local selections are owned by Editor
Nathan Sobo
created
4 years ago
4dd0752
More messy progress towards selections in editors
Nathan Sobo
created
4 years ago
0639c83
Relax TreeMap value bounds, fix warnings, simplify cmp
Nathan Sobo
created
4 years ago
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
4 years ago
Nathan Sobo
created
4 years ago
8432dae
WIP: Start on removing selections from buffer in favor of editor
Nathan Sobo
created
4 years ago
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
4 years ago
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
Page 4 of 47