htmlText question
Doug Lerner
doug at webcrossing.com
Mon Jan 5 02:34:27 EST 2004
On 1/5/04 3:51 PM, "Dar Scott" <dsc at swcp.com> wrote:
>
> On Sunday, January 4, 2004, at 04:01 PM, Doug Lerner 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?
>
> Actually I set properties of the last n chars, where n is the length of
> the line I just appended. Your idea might be better. I'm not sure
> where yours will put the line-end; I would have to experiment.
One problem is that my field scrolls as I add more to it. But setting the
last line (and presumably the last n characters) seems to have the bad side
effect of always keeping the last line with that setting... hmmm...
doug
More information about the use-livecode
mailing list