FIX: Correct range when pasting csv tetx

This commit is contained in:
Nicolás Hatcher
2025-07-04 18:47:54 +02:00
committed by Nicolás Hatcher Andrés
parent 7c8cd22ad8
commit 5d7f4a31d6
2 changed files with 4 additions and 1 deletions

View File

@@ -1809,7 +1809,7 @@ impl UserModel {
}
self.push_diff_list(diff_list);
// select the pasted area
self.set_selected_range(area.row, area.column, row, column)?;
self.set_selected_range(area.row, area.column, row - 1, column - 1)?;
self.evaluate_if_not_paused();
Ok(())
}