Change selection to have anchor at the start

This commit is contained in:
xenia 2023-11-12 20:06:26 +01:00
parent 1314dce07d
commit 326cb00da5

View File

@ -49,8 +49,8 @@ pub fn ranges_to_selections_desc(buffer: &[String], ranges: &[Range]) -> String
} }
format!( format!(
"{},{}", "{},{}",
point_to_kak_coords(buffer, Point::new(end_row, end_column)),
point_to_kak_coords(buffer, range.start_point), point_to_kak_coords(buffer, range.start_point),
point_to_kak_coords(buffer, Point::new(end_row, end_column))
) )
}) })
.join(" ") .join(" ")