When I copy the text from the EditorGadget to the clipboard via the context menu, and then exit the program, the text is no longer in the clipboard.
I think this bug report deals with the same problem and may contain useful information to fix the problem:
https://bugzilla.mozilla.org/show_bug.cgi?id=311340
With SetClipboardText() this problem does not exist.
Linux: When program ends, clipboard data should still exist
Linux: When program ends, clipboard data should still exist

Why OpenSource should have a license :: PB-CodeArchiv-Rebirth :: Pleasant-Dark (syntax color scheme) :: RegEx-Engine (compiles RegExes to NFA/DFA)
Manjaro Xfce x64 (Main system) :: Windows 10 Home (VirtualBox) :: Newest PureBasic version