Prepare UI for section cut/copy API update

This commit is contained in:
Robin Gareus
2023-06-06 01:39:48 +02:00
parent f5f87f86d4
commit 961c6ae8d7

View File

@@ -2724,7 +2724,7 @@ Editor::cut_copy_section (bool copy)
}
#endif
timepos_t to (get_preferred_edit_position ());
_session->cut_copy_section (start, end, to, copy);
//_session->cut_copy_section (start, end, to, copy ? CopyPasteSection : CutCopySection);
timepos_t to_end (to + start.distance (end));