Re: Translate metadata to field content

2020-02-22 Thread J. Landman Gay via use-livecode
Actually I did start with a browser widget but there were too many things I 
need to do which aren't easy there. I need to get the clickchunk, color 
multiple sentences differently in the same field, get user-hilited text, 
etc. But the primary reason for switching to a LC field is that I need to 
display other controls on top of it.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On February 22, 2020 7:42:32 AM hh via use-livecode 
 wrote:



This is possibly your problem if I understand correctly what
you are doing (Browser source -> LC htmltext -> LC styledText).

You try to work, using one LC method (styledText), around
problems that another LC method (htmltext) has generated.

One way to solve this could be to avoid LC's htmltext at all.
Instead apply JavaScript with its powerful regular expression
methods or, even better, the regex external "sunnYrex" of
Thierry Douez to your input-source from the browser.

That is: Browser source -> REGEX -> LC-styledText


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-livecode





___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Translate metadata to field content

2020-02-22 Thread hh via use-livecode
This is possibly your problem if I understand correctly what
you are doing (Browser source -> LC htmltext -> LC styledText).

You try to work, using one LC method (styledText), around
problems that another LC method (htmltext) has generated.

One way to solve this could be to avoid LC's htmltext at all.
Instead apply JavaScript with its powerful regular expression
methods or, even better, the regex external "sunnYrex" of
Thierry Douez to your input-source from the browser.

That is: Browser source -> REGEX -> LC-styledText


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode