Re: Difference between "html" and "htmlText" in clipboardData?

2017-02-02 Thread Stephen Barncard via use-livecode
And it was the discussions on this list that led me to update that "clipboard explorer" stack to use that newer property. I'm not sure if I built in backward compatibility to earlier versions than 7 or 8. On Thu, Feb 2, 2017 at 11:34 AM, Richard Gaskin via use-livecode <

Re: Difference between "html" and "htmlText" in clipboardData?

2017-02-02 Thread Richard Gaskin via use-livecode
Earlier this morning I wrote in reply to Mark Waddingham: > My question arose because a forum user found an interesting > workaround for making backgroundColor in text pastable into other > applications - this post gets to the meat (the thread as a whole > is long): >

Re: Difference between "html" and "htmlText" in clipboardData?

2017-02-02 Thread Richard Gaskin via use-livecode
Mark Waddingham wrote: > On 2017-02-02 01:46, Richard Gaskin via use-livecode wrote: >> What is the difference between "LiveCode HTML text" and "LiveCode >> HTML format"? > > Nothing - they are the same format in that context (the > clipboardData). > However, > you should use 'htmlText' and

Re: Difference between "html" and "htmlText" in clipboardData?

2017-02-02 Thread Bob Sneidar via use-livecode
THAT is a revelation! Bob S On Feb 2, 2017, at 24:28 , Mark Waddingham via use-livecode > wrote: The difference comes about when you use 'the fullClipboardData'. The fullClipboardData gives you access both to the engine's

Re: Difference between "html" and "htmlText" in clipboardData?

2017-02-02 Thread Mark Waddingham via use-livecode
On 2017-02-02 01:46, Richard Gaskin via use-livecode wrote: The Dictionary entry for clipboardData lists these among the array keys: - htmlText: LiveCode HTML text - html: styled text in LiveCode HTML format That dictionary entry could do with a little refinement :) What is the difference

Re: Difference between "html" and "htmlText" in clipboardData?

2017-02-01 Thread Stephen Barncard via use-livecode
On Wed, Feb 1, 2017 at 7:33 PM, Richard Gaskin via use-livecode < use-livecode@lists.runrev.com> wrote: > Thanks. Interestingly, it shows a key for "html" but not "htmlText". > > Do you know what the difference between those keys is? > no. The key list is derived from the clipboard array. >

Re: Difference between "html" and "htmlText" in clipboardData?

2017-02-01 Thread J. Landman Gay via use-livecode
On 2/1/17 9:33 PM, Richard Gaskin via use-livecode wrote: Interestingly, it shows a key for "html" but not "htmlText". Do you know what the difference between those keys is? Is this just a bug in the Dictionary and there is no "htmlText", with the "html" key using LC's htmlText? They appear

Re: Difference between "html" and "htmlText" in clipboardData?

2017-02-01 Thread Richard Gaskin via use-livecode
Stephen Barncard wrote: > On Wed, Feb 1, 2017 at 4:46 PM, Richard Gaskin wrote: > >> The Dictionary entry for clipboardData lists these among the array >> keys: >> >> - htmlText: LiveCode HTML text >> - html: styled text in LiveCode HTML format >> >> What is the difference between "LiveCode HTML

Re: Difference between "html" and "htmlText" in clipboardData?

2017-02-01 Thread Stephen Barncard via use-livecode
if you need it. http://media.barncard.com/downloads/clipboardTest.livecode On Wed, Feb 1, 2017 at 4:46 PM, Richard Gaskin via use-livecode < use-livecode@lists.runrev.com> wrote: > The Dictionary entry for clipboardData lists these among the array keys: > > - htmlText: LiveCode HTML text > -

Difference between "html" and "htmlText" in clipboardData?

2017-02-01 Thread Richard Gaskin via use-livecode
The Dictionary entry for clipboardData lists these among the array keys: - htmlText: LiveCode HTML text - html: styled text in LiveCode HTML format What is the difference between "LiveCode HTML text" and "LiveCode HTML format"? If there is no difference and they're both LC's htmlText, why