Add a TODO for the future

This commit is contained in:
Blaž Hrastnik 2022-03-31 15:58:52 +09:00
parent ab7885e934
commit d15c875214
No known key found for this signature in database
GPG Key ID: 1238B9C4AD889640

View File

@ -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);