on master help sign in
Add a TODO for the future
d15c875Blaž Hrastnik
helix-term/src/commands.rs+1
@@ -1350,6 +1350,7 @@ fn copy_selection_on_line(cx: &mut Context, direction: Direction) {
1350 range.head
1350 range.head
1351 };
1351 };
1352
1352
1353+ // TODO: this should use visual offsets / pos_at_screen_coords
1353 let head_pos = coords_at_pos(text, head);
1354 let head_pos = coords_at_pos(text, head);
1354 let anchor_pos = coords_at_pos(text, range.anchor);
1355 let anchor_pos = coords_at_pos(text, range.anchor);
1355
1356