Don't autoinsert default handler ('on mouseup/end mouseup')?

J. Landman Gay jacque at hyperactivesw.com
Wed Jul 21 15:43:29 EDT 2004


On 7/21/04 1:56 PM, Brian Yennie wrote:

> FWIW, I've had exactly this problem: I wanted buttons to pass mouseUp, 
> but if I accidentally saved them with the auto-inserted empty mouseUp 
> handler, it broke.
> My vote would be for it to set the script to empty if it's identical to 
> the auto-inserted script.
> 
>> I don't know how many of you have run into this same kind of thing, 
>> but it's
>> an annoyance to me so I thought it might be an annoyance to others as 
>> well,
>> and if we're getting set to get a new IDE, now would be the time to say
>> something. :-)

The IDE does remove the empty script if you don't change it. If you 
close the script editor without entering anything, the fake handler goes 
away. So it sounds like hitting the enter key is the problem. (I always 
close the editor with Cmd-Opt-click, which doesn't put anything into the 
handler. I miss this behavior in Rev.)

So, if the problem is that people are hitting the enter key, then the 
IDE should probably check for that since it already removes the fake 
handler otherwise.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com


More information about the metacard mailing list