Glenn, stick a closing paren inside the rat's ' ', and you'll see it. Intellisense does mess up sometimes when parens appear inside quotes.
Alan
>Mmmmm. Yes I do see something different, I did not get correct highlighting when the "THIS" was not present. I have not re-tested this after a re-start, but I will try it now. Sometimes Itellesense gets a little "wiggy" after some testing, perhaps this is one of those cases.
>
>I Just tested it again after a re-start and again it is working correctly. It still is a bug but not one as easy to crush! I would not know how to reproduce the situation again but I will pay more attention to this in the future.
>
>Glenn
>
>>Glenn,
>>
>>When I type this code fragment into a modi comm window:
>>
>>
>>with this
>> thisform.cRepName = juststem( substr( .printcmd, rat( ' ', .printcmd ) + 1 ) )
>>endwith
>>
>>
>>as I type each ) it does correctly highlight back to the correct opening (.
>>
>>what are you doing to see something different?
>>
>>I'm using VFP8Sp1.
>>
>>>The error occurs with the IDE highlighting for parenthesis.