@@ -99,7 +99,7 @@ impl CursorPosition {
let mut last_selection = None::<Selection<Point>>;
let snapshot = editor.buffer().read(cx).snapshot(cx);
if snapshot.excerpts().count() > 0 {
- for selection in editor.selections.all::<Point>(cx) {
+ for selection in editor.selections.all_adjusted(cx) {
let selection_summary = snapshot
.text_summary_for_range::<text::TextSummary, _>(
selection.start..selection.end,