Review fixes

This commit is contained in:
Keith Simmons
2022-05-13 15:55:27 -07:00
parent 20c97637a4
commit 45ea3d4c38
7 changed files with 111 additions and 150 deletions
+1 -1
View File
@@ -465,7 +465,7 @@ impl CursorPosition {
self.selected_count = 0;
let mut last_selection: Option<Selection<usize>> = None;
for selection in editor.selections.interleaved::<usize>(cx) {
for selection in editor.selections.all::<usize>(cx) {
self.selected_count += selection.end - selection.start;
if last_selection
.as_ref()