Commit log
c41b958
WIP - start restructuring collaboration around entire projects
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
88d663a
Allow saving of all buffers contained in project diagnostics editor
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
f0fe346
Gracefully degrade `diagnostics_in_range`, `diagnostic_group` and `file`
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
6685d5a
Implement `MultiBuffer::save`
Click to expand commit body
This is still not integrated with `workspace::ItemView`.
Antonio Scandurra
created
4 years ago
7d2b74a
Implement `MultiBuffer::{is_dirty,has_conflict}`
Antonio Scandurra
created
4 years ago
5f819b6
Implement `MultiBuffer::enclosing_bracket_ranges`
Antonio Scandurra
created
4 years ago
c9cbc2f
Implement `MultiBuffer::range_for_syntax_ancestor`
Antonio Scandurra
created
4 years ago
a2ee38f
Make `MultiBuffer::is_parsing` a test-only method
Antonio Scandurra
created
4 years ago
3914d1d
Display filename on the first excerpt's header for a group
Antonio Scandurra
created
4 years ago
63f1712
Enhance diagnostic unit test and correctly display primary diagnostic
Click to expand commit body
That is, if the diagnostic has more than one line we will display the
first line in the header and all the other message lines at the error
location.
Antonio Scandurra
created
4 years ago
528d64d
WIP - Improve project diagnostic context rendering
Max Brunsfeld
created
4 years ago
fb492a9
Correctly incorporate editor settings into diagnostic header rendering
Max Brunsfeld
created
4 years ago
ae147a3
Don't terminate on an empty input chunk in `ExcerptChunks`
Max Brunsfeld
created
4 years ago
31eeffa
Autoscroll after inserting blocks
Max Brunsfeld
created
4 years ago
9cd4e5b
Transfer focus from ProjectDiagnostics view to its editor
Max Brunsfeld
created
4 years ago
6444fcd
Integrate MultiBuffer::buffer_rows into the display map
Max Brunsfeld
created
4 years ago
db33e49
Implement MultiBuffer::buffer_rows
Max Brunsfeld
created
4 years ago
a293e9c
Suppress unused field warnings
Max Brunsfeld
created
4 years ago
38df091
Fix up/down movement across excerpt headers
Click to expand commit body
Implement these movements in terms of clipping, instead of with explicit loops
Max Brunsfeld
created
4 years ago
dcd05ef
Resolve Anchor::min and ::max to valid positions
Click to expand commit body
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Max Brunsfeld
and
Antonio Scandurra
created
4 years ago
80f3173
Always panic if invalid point is passed to {prev,next}_row_boundary
Click to expand commit body
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>
Max Brunsfeld
and
Antonio Scandurra
created
4 years ago
0fc2db6
Account for folds when inserting/removing block decorations
Antonio Scandurra
created
4 years ago
7660159
Test blocks in display map randomized tests
Click to expand commit body
This highlighted some errors in the implementation.
Antonio Scandurra
created
4 years ago
de679ca
Re-enable creating multiple blocks at once in `BlockMap` tests
Antonio Scandurra
created
4 years ago
abf96e6
Fix movement tests in `DisplayMap`
Antonio Scandurra
created
4 years ago
64e2f6d
Ensure `BlockMap::clip_point` always yield a valid buffer location
Antonio Scandurra
created
4 years ago
ec39c9d
Allow specifying `MAX_EXCERPTS` via an env variable in random tests
Antonio Scandurra
created
4 years ago
3e2f684
Fix prev_row_boundary when a wrap follows a fold
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
4c22774
Always clip buffer points when clipping display points
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
f898dc6
Guard against inverted ranges when building edits in unfold
Click to expand commit body
The multibuffer lets you refer to offsets inside of headers,
so it's possible to create a fold that appears non-empty,
but which spans zero characters in the underlying buffers.
Fold ranges are biased inward: the start is biased right, and
the end is biased left.
Because of these two things, it's possible to create a fold
that becomes "inverted" when you insert text at that position.
Max Brunsfeld
created
4 years ago
e8570b5
Allow multibuffer to clip to the ends of excerpts, before trailing newlines
Max Brunsfeld
created
4 years ago
f8ef605
Update all MultiBuffer unit tests, removing expected trailing newline
Max Brunsfeld
created
4 years ago
f4115dd
:art: point_to_display_point & display_point_to_point
Max Brunsfeld
created
4 years ago
368b444
Clip buffer points in DisplayMap::{prev,next}_row_boundary
Max Brunsfeld
created
4 years ago
2930ea8
Fix handling of excerpts surrounded by edits in MultiBuffer::edit
Max Brunsfeld
created
4 years ago
4bea16e
Ensure muiltibuffer anchors are contained within their excerpt ranges
Click to expand commit body
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
4 years ago
cec0c59
Create multiple excerpts in random BlockMap 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
80abd84
Create MultiBuffers with more than one fragment in more randomized tests
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
1bdaeda
Remove disk diagnostics that were invalidated by a buffer edit
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
4ab307f
Re-enable multi-byte random character generation
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
5118f27
Overhaul `MultiBuffer::chunks`
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
bcdb4ff
Allow edits at the end of `MultiBuffer`
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
7bbaa1d
Don't insert a newline after the last excerpt of a `MultiBuffer`
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
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
Page 20 of 63