the object you are editing... Huh?

Timothy Miller gandalf at doctorTimothyMiller.com
Tue Jun 21 02:28:27 EDT 2005


Hi Pat,

Thanks for your kind attempt to help.

No, those are not the circumstances. That's why it seemed 
inexplicable. The circumstances you describe would make sense to me.

I might have found the source of the problem, though.

There was a handler in this bg left over from Hypercard:

On closefield
   put me into me
   pass closeField
end closefield

This might seem insane, but it worked great in HC. The purpose? I 
often paste text from other sources into fields in this bg. I want 
the pasted text to lose its original attributes and take on those 
assigned to text in the field I am pasting into.

I have a hunch Rev choked on this one. Maybe because the script 
editor is another stack. I suppose the script editor is in the 
hierarchy when I'm editing a script. Or something...

I commented out this handler, and a couple of other suspicious ones, 
but this is the prime candidate. No problems since then. I'm keeping 
my fingers crossed.

Any thoughts?

Best regards,


Tim

BTW -- Is it okay to top post on this list? Or does anyone care? I 
just want to follow the rules.

>Tim,
>
>The only time I have seen this msg is if the stack has been closed 
>and removed from memory, but the script editor for the object is 
>still open and I have tried to make changes.
>
>Is that when the msg occurs for you, or does it happen under 
>different circumstances?
>
>Pat
>patrend at bigpond.com
>
>----- Original Message ----- From: "Timothy Miller" 
><gandalf at doctorTimothyMiller.com>
>To: "How to use Revolution" <use-revolution at lists.runrev.com>
>Sent: Tuesday, June 21, 2005 1:08 PM
>Subject: the object you are editing... Huh?
>
>>At unpredictable times, when trying to edit a script -- the script 
>>of a card field at the moment -- I get an error message I can't 
>>understand. I'm doing all the logical obvious things that a 
>>moderately competent novice would do, before and after encountering 
>>this error message. They aren't working.
>>
>>The message:
>>
>>"The object you are editing appears to have been removed or 
>>deleted. Do you want to copy the text you are editing to the 
>>clipboard before closing this script?" The two response buttons in 
>>the error dialog box are "copy and close" and "close"
>>
>>--What am I doing wrong?
>>
>>--What is the significance of this error message? It must occur for 
>>a good reason, but I can't figure it out.
>>
>>Thanks to all those who have generously offered assistance in the 
>>past week or two.
>>
>>
>>Cheers,
>>
>>
>>Tim
>>_______________________________________________
>>use-revolution mailing list
>>use-revolution at lists.runrev.com
>>Please visit this url to subscribe, unsubscribe and manage your 
>>subscription preferences:
>>http://lists.runrev.com/mailman/listinfo/use-revolution
>
>_______________________________________________
>use-revolution mailing list
>use-revolution at lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your 
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-revolution



More information about the use-livecode mailing list