Always mirror the leader's selections when following
This commit is contained in:
parent
c8f36af823
commit
1728551282
5 changed files with 103 additions and 52 deletions
|
@ -1568,7 +1568,7 @@ impl Editor {
|
|||
#[cfg(any(test, feature = "test-support"))]
|
||||
pub fn selected_ranges<D: TextDimension + Ord + Sub<D, Output = D>>(
|
||||
&self,
|
||||
cx: &mut MutableAppContext,
|
||||
cx: &AppContext,
|
||||
) -> Vec<Range<D>> {
|
||||
self.local_selections::<D>(cx)
|
||||
.iter()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue