htmlText question

Doug Lerner doug at webcrossing.com
Sun Jan 4 18:01:31 EST 2004


On 1/5/04 3:33 AM, "Dar Scott" <dsc at swcp.com> wrote:

> 
> On Sunday, January 4, 2004, at 07:27 AM, Doug Lerner wrote:
> 
>> Actually, all I'm trying to do is occasionally put a styled line into
>> the
>> field. :)
> 
> I use my own commands for appending lines.  You might have one for
> appending a bold line and one for appending a line not bold.  This also
> keeps my line ends consistent.

So you append all yours with either just <p>text</p> or <p><b>bold
text</b></p>, using the same approach I did?

doug

> 
> Another approach would be to put the line-end char at the end of the
> line and make sure it is not bold after a bold line.  That takes a bit
> more work, but it could be hidden in your appendBoldLine command.  That
> might allow you to avoid the appendLine command and use a simple 'put
> after'.  (I prefer the custom commands.)
> 
> Dar Scott
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution



More information about the use-livecode mailing list