Rev can't seem to find the object referred to in this statement:
set the textStyle of word 1 to 2 of the last line of field "chatField" of
stack "chat550" to bold
But just:
word 1 to 2 of the last line of field "chatField" of stack "chat550"
displays just fine.
Did the complexity of the statem
Bracketing doesn't help. I've narrowed it down to an even simpler example:
set the textStyle of word 1 of the last line of field "chatField" to bold
does not work even though
set the textStyle of the last line of field "chatField" to bold
does work.
I think setting a single word chunk's textSt
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
[EMAIL PROTECTED]
http://lists.runrev
try to put some parenthesis on your reference to the field
or use the ID of the field for a more direct reference...
I haven't had trouble with this before...
On 29/01/2004 10:58:13 use-revolution-bounces wrote:
>Rev can't seem to find the object referred to in this statement:
>
>set the textSty
Doug,
> Rev can't seem to find the object referred to in this statement:
>
> set the textStyle of word 1 to 2 of the last line of field "chatField" of
> stack "chat550" to bold
>
> But just:
>
> word 1 to 2 of the last line of field "chatField" of stack "chat550"
>
> displays just fine.
>
> Did
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
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 invo
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 sa
>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
Sounds like a bug to me. It has always been possible to do this before. If
mc2.5.1 can do it, so should re
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, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> Make sure the last line is not empty (IOWs, the last char of the field is
> a return charac
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...
and don't forget that all text inside double-quotes is treated as a
single word.
--
Phil Jimmieson [EMAIL PROTECTED] (U
sez [EMAIL PROTECTED]
>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
--- Doug Lerner <[EMAIL PROTECTED]> wrote:
> [snip]
>
> 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
> "c
On 29/01/2004 14:08:52 use-revolution-bounces 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...
>
>and don't forget that all text inside double-quotes is t
I can't remember how HC handled it but when you call a word a word
Buzz!
Sorry, X-Man:
HyperCard Script Language Guide (p120):
"Words are composed of any characters, including punctuation,
delimited by spaces and return characters..."
In HyperTalk,
on testWord wordNumber
Of
> [EMAIL PROTECTED]
> Sent: Thursday, January 29, 2004 16:39
> To: How to use Revolution
> Subject: Re: Some strange Rev parsing problem?
>
>
> On 29/01/2004 14:08:52 use-revolution-bounces wrote:
> >>set the textstyle of word 2 of line 7 of fld "source&
On 1/29/04 6:15 AM, Doug Lerner wrote:
It seems you just can't set the textStyle of a single word of a line.
It works fine here.
--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software | http://www.hyperactivesw.com
___
On 1/29/04 6:47 AM, Doug Lerner 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
I didn't try that variation, but good to keep in mind. Thanks, Jan.
doug
On 1/29/04 11:05 PM, "Jan Schenkel" <[EMAIL PROTECTED]> wrote:
> --- Doug Lerner <[EMAIL PROTECTED]> wrote:
>> [snip]
>>
>> I guess the workaround is either to use htmlText
>> like I ended up doing or
>> finding the number
On 1/30/04 4:55 AM, "J. Landman Gay" <[EMAIL PROTECTED]> wrote:
> On 1/29/04 6:47 AM, Doug Lerner 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:
>>
>> s
20 matches
Mail list logo