📝
This commit is contained in:
parent
6a181ac692
commit
a1053f7820
1 changed files with 2 additions and 2 deletions
|
@ -562,8 +562,8 @@ impl BufferView {
|
||||||
} else if clipboard_selections.len() == 1 && clipboard_selections[0].is_entire_line
|
} else if clipboard_selections.len() == 1 && clipboard_selections[0].is_entire_line
|
||||||
{
|
{
|
||||||
// If there was only one selection in the clipboard but it spanned the whole
|
// If there was only one selection in the clipboard but it spanned the whole
|
||||||
// line, then paste it over and over into each of the current selections so that
|
// line, then paste it into each of the current selections so that we can
|
||||||
// we can position it before the selections that are empty.
|
// position it before those selections that are empty.
|
||||||
self.multiline_paste(
|
self.multiline_paste(
|
||||||
clipboard_text.chars().cycle(),
|
clipboard_text.chars().cycle(),
|
||||||
clipboard_selections.iter().cycle(),
|
clipboard_selections.iter().cycle(),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue