Revision [325]
This is an old revision of sqInt made by JohnMcIntosh on 2008-10-22 02:44:35.
sqInt clipboardWriteFromAt(sqInt count, sqInt byteArrayIndex, sqInt startIndex)
Parms:
count number of bytes to write
byteArrayIndex oops data, address of start of data
startIndex offset to start write from
return: NONE, fake return of zero
From: Interpreter
Why:
Responsibility:
MacIntosh
os-9/OSXCarbon
clear the scrap, and write out byteArrayIndex+ startIndex bytes for the given count.
Cocoa:
TBD
iPhone
no scrap book
Unix
copy the data to the x11 clipboard
Windows
lots of work, first figure out how many lone CRs we have versus CRLF, then insert extra LF
then assume we've a valid UTF8 and convert it to unicode then clear existing clipboard and toss our bytes onto it.
BUGS
startIndex is always zero, why have it?