Some strange Rev parsing problem?

Doug Lerner doug at webcrossing.com
Thu Jan 29 08:00:01 EST 2004


It was definitely not empty.

I could do:

    put word 1 of the last line of field "chatField"

into the message box and see it.

doug


On 1/29/04 9:54 PM, "xbury.cs at clearstream.com" <xbury.cs at clearstream.com>
wrote:

> Make sure the last line is not empty (IOWs, the last char of the field is
> a return character...)
> 
> On 29/01/2004 13:47:14 use-revolution-bounces wrote:
>> I get "Chunk: can't find object" errors if I try:
>> 
>> set the textStyle of word 1 of the last line of field "chatField" to bold
>> 
>> But since you said yours worked I tried:
>> 
>> set the textStyle of word 1 of line 4 of field "chatField" to bold
>> 
>> and that did work.
>> 
>> So it seems there is a Rev parsing bug involving "the last line" in my
> first
>> attempt.
>> 
>> I guess the workaround is either to use htmlText like I ended up doing or
>> finding the number of lines first, as in:
>> 
>> put the number of lines of field "chatField" into nLines
>> set the textStyle of word 1 of line nLines of field "chatField" to bold
>> 
>> doug
>> 
>> 
>> On 1/29/04 9:29 PM, "xbury.cs at clearstream.com" <xbury.cs at clearstream.com>
>> wrote:
>> 
>>> set the textstyle of word 2 of line 7 of fld "source" to "bold"
>>> 
>>> works great... Although... the definition of a word is buggy...
>>> 
>>> Name="description" is apparently one word...
>>> 
>>> Q: So how do you define a word in RR?
>>> 
>>> A: A new revolution!
>>> 
>>> 
>>> 
>>> On 29/01/2004 13:15:47 use-revolution-bounces wrote:
>>>> It seems you just can't set the textStyle of a single word of a line.
> But
>>> I
>>>> was able to accomplish what I needed by using HTML and setting the
>>> htmlText
>>>> of the whole line instead.
>>>> 
>>>> doug
>>>> 
>>>> _______________________________________________
>>>> use-revolution mailing list
>>>> use-revolution at lists.runrev.com
>>>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>> 
>>> 
>>> Visit us at http://www.clearstream.com
>>> 
>>> IMPORTANT MESSAGE
>>> 
>>> Internet communications are not secure and therefore Clearstream
> International
>>> does not accept legal responsibility for the contents of this message.
>>> 
>>> The information contained in this e-mail is confidential and may be
> legally
>>> privileged. It is intended solely for the addressee. If you are not the
>>> intended recipient, any disclosure, copying, distribution or any action
> taken
>>> or omitted to be taken in reliance on it, is prohibited and may be
> unlawful.
>>> Any views expressed in this e-mail are those of the individual sender,
> except
>>> where the sender specifically states them to be the views of
> Clearstream
>>> International or of any of its affiliates or subsidiaries.
>>> 
>>> END OF DISCLAIMER
>>> _______________________________________________
>>> use-revolution mailing list
>>> use-revolution at lists.runrev.com
>>> http://lists.runrev.com/mailman/listinfo/use-revolution
>> 
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> http://lists.runrev.com/mailman/listinfo/use-revolution
> _______________________________________________
> 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