CommandKeyDown in a library script?

Peter Haworth pete at lcsql.com
Sat Jul 19 13:20:58 EDT 2014


Hi Craig,
I have to respectfully disagree.  I think the best solution is to fix the
bug.

I know you and others use it as you've described for testing various
versions of the same handler but you can still do that by commenting out
all except the one you want to run instead of just the ones above the one
you want to run, so there's no loss of functionality for you.

On the other hand, this bug has caused a lot of people (me included) a lot
of grief and fixing it would prevent that for others.  I doubt it will be a
very high priority but I really think it should be fixed at some point.

It also brings to mind that perhaps there should be a list of "gotchas" for
new users.  This would be one of them.  Another one might be red dot
breakpoints not working in preOpenxxx handlers.  I'm sure there are others.

Pete
lcSQL Software <http://www.lcsql.com>
Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>


On Sat, Jul 19, 2014 at 6:40 AM, <dunbarx at aol.com> wrote:

> All:
>
>
> I think the best solution is that the revAvailableHandlers show the
> duplicates, (perhaps italicised?).
>
>
> Then the feature can be exploited, or the bug clearly delineated. But most
> importantly, by clicking on the list item, one can navigate to the dups,
> the "feature" most egregiously missing in all this mishegas.
>
>
> Craig
>
>
>
>
> -----Original Message-----
> From: Richard Gaskin <ambassador at fourthworld.com>
> To: use-livecode <use-livecode at lists.runrev.com>
> Sent: Fri, Jul 18, 2014 5:39 pm
> Subject: Re: CommandKeyDown in a library script?
>
>
> Peter Haworth wrote:
> > I entered this as bug# 12849
> >
> > I'm guessing that the script editor uses revAvailableHandlers to populate
> > it's list of handlers in a script so not surprised it doesn't indicate
> > duplicates.  I didn't include that in the above bug report, although it
> > does suggest flagging duplicates in the Script Editor list of handlers.
>
> Thanks, Peter.
>
> I filed mine also, with a link to yours since the two are somewhat
> related and may be easily fixed at the same time:
> <http://quality.runrev.com/show_bug.cgi?id=12850>
>
> --
>   Richard Gaskin
>   Fourth World
>   LiveCode training and consulting: http://www.fourthworld.com
>   Webzine for LiveCode developers: http://www.LiveCodeJournal.com
>   Follow me on Twitter:  http://twitter.com/FourthWorldSys
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list