[Gambas-user] IDE String[] editor copy/paste only does the whole list

Bruce Steers bsteers4 at gmail.com
Sat Aug 13 12:24:41 CEST 2022


On Sat, 13 Aug 2022 at 08:59, Bruce Steers <bsteers4 at gmail.com> wrote:

> Is that right?
>
> In the IDE when you open up the dialog to edit a String[] property there
> is copy and paste buttons.
>
> I would have thought it was for copying and pasting single items in the
> list.
> but looking at the code it just copies all items in the list and paste
> just pastes them all back again.
>
> So it looks like (an assumption maybe) std copy/paste buttons for single
> items but it's only for copying/pasting entire lists.
> and the paste must be text/x-gambas-list type so pretty much only for
> copying lists internally with other String[] dialogs.
>
>
It would make sense to change the type to text/plain and rename the
buttons, "Copy List" , "Paste List"
then internal copying complete lists would still function as normal and
also you could paste a list from anywhere you can copy lines of text.

Sorry. possibly you have this by design for a reason Ben, i just looked at
the feature and thought , what?
Am surprised the Copy/Paste buttons are not for single list items, I'm sure
that would seem the usual assumption with most people for buttons like that
in that sort of gui.

At the very least I think changing the button text to "Copy List" , "Paste
List" would explain their current function better.

Respects
BruceS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20220813/4a3cdf19/attachment.htm>


More information about the User mailing list