Small formatting change

pull/9483/head
Steven 10 months ago
parent 61113127e0
commit 0311256d34

@ -1818,9 +1818,9 @@ fn select_first_and_last_chars(cx: &mut Context) {
let selection = doc.selection(view.id).clone().transform_iter(|range| {
vec![
Range::new(range.anchor, range.anchor + 1),
Range::new(range.head - 1, range.head)
Range::new(range.head - 1, range.head),
]
.into_iter()
.into_iter()
});
doc.set_selection(view.id, selection);

Loading…
Cancel
Save