f8ef605
Update all MultiBuffer unit tests, removing expected trailing newline
Max Brunsfeld created
f8ef605
Update all MultiBuffer unit tests, removing expected trailing newline
Max Brunsfeld created
f4115dd
:art: point_to_display_point & display_point_to_point
Max Brunsfeld created
368b444
Clip buffer points in DisplayMap::{prev,next}_row_boundary
Max Brunsfeld created
2930ea8
Fix handling of excerpts surrounded by edits in MultiBuffer::edit
Max Brunsfeld created
4bea16e
Ensure muiltibuffer anchors are contained within their excerpt ranges
Co-Authored-By: Nathan Sobo <nathan@zed.dev> Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Max Brunsfeld , Nathan Sobo , and Antonio Scandurra created
cec0c59
Create multiple excerpts in random BlockMap 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
80abd84
Create MultiBuffers with more than one fragment in more randomized tests
Co-Authored-By: Nathan Sobo <nathan@zed.dev> Co-Authored-By: Max Brunsfeld <max@zed.dev>
Antonio Scandurra , Nathan Sobo , and Max Brunsfeld created
1bdaeda
Remove disk diagnostics that were invalidated by a buffer edit
Co-Authored-By: Nathan Sobo <nathan@zed.dev> Co-Authored-By: Max Brunsfeld <max@zed.dev>
Antonio Scandurra , Nathan Sobo , and Max Brunsfeld created
4ab307f
Re-enable multi-byte random character generation
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
5118f27
Overhaul `MultiBuffer::chunks`
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
bcdb4ff
Allow edits at the end of `MultiBuffer`
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
7bbaa1d
Don't insert a newline after the last excerpt of a `MultiBuffer`
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
ae0fa75
Start testing the integration of display layers with `MultiBuffer`s
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
59121a2
Forward notifications from `Buffer` in `MultiBuffer`
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
437145a
Remove assertion and don't consume 0 bytes
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Nathan Sobo and Antonio Scandurra created
fbba417
Implement MultiBuffer::bytes_in_range
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Nathan Sobo and 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