(no subject)
pmbrig at comcast.net
pmbrig at comcast.net
Wed Mar 22 22:05:17 EST 2006
Thanks Andre -- this solves the practical problem (except for Word's inability to actually paste size 10 text in any font -- ah, Microsoft!) -- it gives the proper formatting as specified in the formatting field.
I'm still curious about the failure of the htmltext function to include font & size info. Is the documentation just plain wrong?
-- Peter M. Brigham
_____________
Original message:
Hi Peter,
> Why doesn't the htmlText of the field get onto the clipboard?
I recently discovered that, after "select text of fld "suchField" :
1 - put the selectedText into fld "essai" -->> doesn't keep format
when paste
2 - put the selection into fld "essai" -- >> idem
3 - set the clipboardData["text"] to the selectedText -->> idem
4 - set the clipboardData["text"] to the selection -- >> idem
BUT :
5 - copy the selectedText -->> paste in Word remains formatted
6 - copy the selection -- >> remains formatted
(Mac G4 ; 0SX 10.2.8 ; RR ; Word 10.1.0)
Best regards from Grenoble
André
More information about the use-livecode
mailing list