This reverts commit a6a8d79d86
.
Closes #ISSUE
Release Notes:
- N/A *or* Added/Fixed/Improved ...
This commit is contained in:
parent
d17c6b392e
commit
c34b14ae7d
2 changed files with 63 additions and 68 deletions
|
@ -7056,10 +7056,10 @@ impl Editor {
|
|||
cx: &mut Context<Self>,
|
||||
) {
|
||||
let selections = self.selections.all(cx).into_iter().map(|s| s.range());
|
||||
self.discard_hunks_in_ranges(selections, window, cx);
|
||||
self.revert_hunks_in_ranges(selections, window, cx);
|
||||
}
|
||||
|
||||
fn discard_hunks_in_ranges(
|
||||
fn revert_hunks_in_ranges(
|
||||
&mut self,
|
||||
ranges: impl Iterator<Item = Range<Point>>,
|
||||
window: &mut Window,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue