@@ -1350,6 +1350,7 @@ fn copy_selection_on_line(cx: &mut Context, direction: Direction) {
1350 range.head
1350 range.head
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);