String IOBoxes with large text are no longer editable and are a threat to your clipboard

IOBox strings with large text are no longer editable. Data from them may overwrite the data on your clipboard.

While solving problems for Advent Of Code, I came across a problem related to this topic:

I’ve done this about a dozen times: I copy a long data text, go to Gamma, click on the IOBox from the previous project to paste it into (you can think of it as a template), the data from this IOBox is copied to my clipboard, I repeat the process.

Is it possible to make a choice in the menu that appears? Paste or copy (and Cancel)? Or maybe you know a better option? Maybe make an indication (warning) in UI that the string is large?

indeed, copying to clipboard without asking was not a good decision. added more options to the dialog:

1 Like

There is no way to put “Copy”, “Paste”, “Cancel” directly on the button labels?

Of course, but with unproportional effort.

1 Like

I understand. Even so, it’s much better.

[comment partly moved to here]


Alternatively, @yar, maybe you could look into file watchers and update that IO Box string when the file is changed. This way, it would be convenient for you to edit the text in the editor you like.

@ajitid I have already touched on this subject here:

Gamma already has a feature to update the patch when the patch changes. I can make a plugin for Sublime if such a feature is available. I suggest moving this discussion to that thread.