Format all selections even if they are cursors (#22933)
Closes #22816 Release Notes: - Format selections now also applies to cursors.
This commit is contained in:
parent
0dd7ea4575
commit
c9008fb8c1
1 changed files with 0 additions and 1 deletions
|
@ -10260,7 +10260,6 @@ impl Editor {
|
|||
.all_adjusted(cx)
|
||||
.into_iter()
|
||||
.map(|selection| selection.range())
|
||||
.filter(|s| !s.is_empty())
|
||||
.collect_vec();
|
||||
|
||||
Some(self.perform_format(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue