Commit log
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
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
Page 12 of 55