NewTools
NewTools copied to clipboard
[Debugger][Enhancement] Copy a screenshot of the debugger in the OS clipboard
In connection with https://github.com/pharo-spec/NewTools/issues/549, I suggest adding a functionality to the debugger's window menu that allows users to capture a screenshot of the debugger window and automatically copy it to the operating system clipboard.
This enhancement is designed to simplify the process of copying a screenshot of the debugger from the system clipboard into an github issue, documentation, chat, or any other relevant context.
I checked a bit the SDL support for this issue, although they mention there is some kind of support, the source does not seem to reflect this yet.
An ugly workaround to this is to use the Morphic methods:
self copyToPasteBuffer: self window.
World activeHand pasteBuffer.
But probably there's another way to handle it. I need to investigate further.