[Newbies] About primitiveClipboardText in Clipboard class
ericqiu at gmail.com
Mon Feb 14 08:02:40 UTC 2011
I just add Transcript show in Clipboard ::clipboardText as following:
"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
| string decodedString |
string := self primitiveClipboardText withSqueakLineEndings.
Transcript show: string.
after primitiveClipboardText get the content from paste with "$一
I found the result of string is different between 4.1 and 3.9.
Does it mean before primitiveClipboard, the Squeak has done some decoding?
View this message in context: http://forum.world.st/About-primitiveClipboardText-in-Clipboard-class-tp3304560p3304560.html
Sent from the Squeak - Beginners mailing list archive at Nabble.com.
More information about the Beginners