Sequence editor: paste when multiple items are selected results are a bit strange...

Discussions, Bug Reports and Issues related to Beta versions of SharpCap
Post Reply
lowenthalm
Posts: 224
Joined: Mon May 07, 2018 12:27 am

Sequence editor: paste when multiple items are selected results are a bit strange...

#1

Post by lowenthalm »

So, I select a series of four sequence steps and then select "copy". Then, I immediately paste, thinking that this will replicate the block of code I have selected. Instead, it pastes the four sequence steps on the clipboard between items 1 and 2 of the the current four sequence steps that are selected.

Kinda weird. I get why you don't have it overwrite the currently selected steps with the clipboard contents. However, it seems that it should paste after the current selection of sequence steps, not in the middle of it. The noncontiguous line selection case adds a little wrinkle, of course. Maybe defiance, a bleep and a warning message not to do it that way might be in order for that particular variation.
User avatar
admin
Site Admin
Posts: 17609
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Sequence editor: paste when multiple items are selected results are a bit strange...

#2

Post by admin »

Hi,

just looked at the code, and it seems that when determining where to paste, it only considers a single selected item rather than the possibility that there might be multiple selected items. Not even sure if it will always be the first that it goes after - it may depend on the order in which you selected them!

I will make a note to look at this in the future, but will probably leave this for the 4.1 release as nothing *really* bad happens :D

cheers,

Robin
Post Reply