System-Clipboard

Clipboard
The Clipboard class is the abstract superclass for the concrete platform specific clipboard. The legacy clipboard support using the VM supplied primitives was moved to SqueakClipboard.
The Clipboard implements a basic buffering scheme for text. The currently selected text is also exported to the OS so that text can be copied from and to other applications. Commonly only a single instance is used (the default clipboard) but applications are free to use other than the default clipboard if necessary.
chooseRecentClipping
Clipboard chooseRecentClipping
clipboardText
Return the text currently in the clipboard. If the system clipboard is empty, or if it differs from the Smalltalk clipboard text, use the Smalltalk clipboard. This is done since (a) the Mac clipboard gives up on very large chunks of text and (b) since not all platforms support the notion of a clipboard.
clipboardText:
default
initialize
Subclasses should redefine this method to perform initializations on instance creation
noteRecentClipping:
Keep most recent clippings in a queue for pasteRecent (paste... command)
primitiveClipboardText
Get the current clipboard text. Return the empty string if the primitive fails.
primitiveClipboardText:
Set the current clipboard text to the given string.
shutDown:
startUp:
ExternalClipboard
An ExternalClipboard is the abstract superclass for the platform specific clipboards based on the clipboard plugin (former ExtendedClipboardInterface originally developed for Sophie).
Instance Variables
clipboard: SmallInteger
clipboard
- handle for the external clipboard. If 0 the external clipboard is invalid
addClipboardData:dataFormat:
clearClipboard
clipboardText
Return the text currently in the clipboard. If the system clipboard is empty, or if it differs from the Smalltalk clipboard text, use the Smalltalk clipboard. This is done since (a) the Mac clipboard gives up on very large chunks of text and (b) since not all platforms support the notion of a clipboard.
clipboardText:
createClipboard
initialize
Subclasses should redefine this method to perform initializations on instance creation
primAddClipboardData:data:dataFormat:
primClearClipboard:
primCreateClipboard
primGetClipboardFormat:formatNumber:
primReadClipboardData:format:
MacOSClipboard
A MacOSClipboard is xxxxxxxxx.
Instance Variables
addUF8StringClipboardData:
SqueakClipboard
A SqueakClipboard is the legacy clipboard using VM supplied primitives.