Re: htmlText question

2013-10-01 Thread Mark Wieder
Richard- Tuesday, October 1, 2013, 12:29:37 PM, you wrote: > The problem is definitely on my end, but not in my trusted Thunderbird. > I'm subscribed here in digest mode, and read the archives in the browser. > So your code snippet was good, and the browser was doing what browsers > are expecte

Re: htmlText question

2013-10-01 Thread Richard Gaskin
Mark Wieder wrote: ...and do note that I sent the email (as always) in straight text mode, the listserv software kept the text formatting, and that the text appears properly in the gmane archives: http://article.gmane.org/gmane.comp.ide.revolution.user/192493 So the "problem" is on your end. I

Re: htmlText question

2013-10-01 Thread Peter Haworth
It appeared intact in my gMail. Pete lcSQL Software On Tue, Oct 1, 2013 at 11:08 AM, Mark Wieder wrote: > Richard- > > > Tuesday, October 1, 2013, 7:50:57 AM, you wrote: > > >> Mark Wieder wrote: > >>> replace "<" with "<" in tText > > >> I'm pre-coffee so forgive me if

Re: htmlText question

2013-10-01 Thread Mark Wieder
Richard- > Tuesday, October 1, 2013, 7:50:57 AM, you wrote: >> Mark Wieder wrote: >>> replace "<" with "<" in tText >> I'm pre-coffee so forgive me if the answer is obvious, but that does >> that line accomplish? > LOL. Gotta love email clients. > That second "<" is (or was when I typed it) "&

Re: htmlText question

2013-10-01 Thread Mark Wieder
Richard- Tuesday, October 1, 2013, 7:50:57 AM, you wrote: > Mark Wieder wrote: >> replace "<" with "<" in tText > I'm pre-coffee so forgive me if the answer is obvious, but that does > that line accomplish? LOL. Gotta love email clients. That second "<" is (or was when I typed it) "& lt ;" with

Re: htmlText question

2013-10-01 Thread Richard Gaskin
Mark Wieder wrote: replace "<" with "<" in tText I'm pre-coffee so forgive me if the answer is obvious, but that does that line accomplish? -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJour

Re: htmlText question

2013-09-30 Thread Peter Haworth
I guess to be more specific, I need to mix text and htmltext on the same line of the field Here's what seems to work after some experimentation: set the text of line x of thefield to "xyz" -- the non-html stuff set the htmltext of char (the length of line x of field "Z")+1 to \ (the length of

Re: htmlText question

2013-09-30 Thread Peter Haworth
Hi Kay, I think I misunderstood your solution. As you say, it's quite possible to mix text and htmltext in a field, even on the same line so I think I'm on the right track now. Thanks Pete lcSQL Software On Mon, Sep 30, 2013 at 3:30 PM, Kay C Lan wrote: > New stack, 1 f

Re: htmlText question

2013-09-30 Thread Mark Wieder
Pete- Monday, September 30, 2013, 4:50:07 PM, you wrote: > I really want things to display without the <, etc, just a straight > representation of the original html text put "this is " into tText replace "<" with "<" in tText set the htmltext of field 1 to tText ...or am I misunderstanding what

Re: htmlText question

2013-09-30 Thread Mark Wieder
Pete- Monday, September 30, 2013, 4:48:17 PM, you wrote: > Hi Mark, > I was hoping it would something easy like that but what I see is plus signs > between the words, apostrophes replaced with %27, etc. OK - dashed that off in a hurry because I was (and still am) in the middle of other things. I

Re: htmlText question

2013-09-30 Thread Peter Haworth
Thanks Kay. This seems like I need to know the html tags that are in the text, which I don't. Now if the htmlText property recognized the tag, I'd be home free! Pete lcSQL Software On Mon, Sep 30, 2013 at 3:47 PM, Kay C Lan wrote: > Actually, using the textStyle is ano

Re: htmlText question

2013-09-30 Thread Peter Haworth
I really want things to display without the <, etc, just a straight representation of the original html text Pete lcSQL Software On Mon, Sep 30, 2013 at 3:30 PM, Kay C Lan wrote: > New stack, 1 fleld, in the msg box: > > set the text of word 1 of line 1 of fld 1 to "" >

Re: htmlText question

2013-09-30 Thread Peter Haworth
Hi Mark, I was hoping it would something easy like that but what I see is plus signs between the words, apostrophes replaced with %27, etc. Pete lcSQL Software On Mon, Sep 30, 2013 at 3:26 PM, Mark Wieder wrote: > Peter- > > Monday, September 30, 2013, 3:17:30 PM, you wr

Re: htmlText question

2013-09-30 Thread Kay C Lan
Actually, using the textStyle is another option: set the text of word 1 of line 1 of fld 1 to "" set the htmlText of word 2 to -1 of line 1 of fld 1 to "This is bold text" set the text of line 2 of fld 1 to "this is italics" set the textStyle of token -4 of line -1 of fld 1 to italic put the htmlT

Re: htmlText question

2013-09-30 Thread Kay C Lan
New stack, 1 fleld, in the msg box: set the text of word 1 of line 1 of fld 1 to "" set the htmlText of word 2 to -1 of line 1 of fld 1 to "This is bold text" put the htmlText of fld 1 into msg The output I get is: This is bold text So you can either selectively set the text or the htmlText

Re: htmlText question

Peter- Monday, September 30, 2013, 3:17:30 PM, you wrote: > I'm setting the htmltext of a field but sections of the text in it which > include html tags need to be displayed as regular text (including the html > tags) instead of formatted html. > Any ideas? urlencode the text you want to appear