Combine updates from multiple view events when updating followers
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
co-authored by
Nathan Sobo
parent
fc811e0856
commit
4435d9b106
@@ -4349,9 +4349,12 @@ mod tests {
|
||||
.condition(cx_b, |editor, cx| editor.text(cx) == "TWO")
|
||||
.await;
|
||||
|
||||
eprintln!("=========================>>>>>>>>");
|
||||
editor_a1.update(cx_a, |editor, cx| {
|
||||
editor.select_ranges([3..3], None, cx);
|
||||
editor.set_scroll_position(vec2f(0., 100.), cx);
|
||||
});
|
||||
eprintln!("=========================<<<<<<<<<");
|
||||
editor_b1
|
||||
.condition(cx_b, |editor, cx| editor.selected_ranges(cx) == vec![3..3])
|
||||
.await;
|
||||
|
||||
Reference in New Issue
Block a user