Add a TODO for the future

pull/1903/head
Blaž Hrastnik 3 years ago
parent ab7885e934
commit d15c875214
No known key found for this signature in database
GPG Key ID: 1238B9C4AD889640

@ -1350,6 +1350,7 @@ fn copy_selection_on_line(cx: &mut Context, direction: Direction) {
range.head range.head
}; };
// TODO: this should use visual offsets / pos_at_screen_coords
let head_pos = coords_at_pos(text, head); let head_pos = coords_at_pos(text, head);
let anchor_pos = coords_at_pos(text, range.anchor); let anchor_pos = coords_at_pos(text, range.anchor);

Loading…
Cancel
Save