7.0.1-RC1 selectively not obeying "open card in script?
Peter Haworth
pete at lcsql.com
Sat Nov 8 13:15:10 EST 2014
Editor field name changed? Thanks for that, need to update lcStackBrowser.
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 Fri, Nov 7, 2014 at 6:59 PM, J. Landman Gay <jacque at hyperactivesw.com>
wrote:
> Yeah, well, it all breaks in LiveCode 6.7. Which is a huge bummer because
> I've relied on that handler for years and it's second nature now. Not only
> did the name of the editor field change, which is easily fixed, but the
> control key, among others, no longer triggers.
>
> On November 7, 2014 8:04:28 PM CST, Peter Brigham <pmbrig at gmail.com>
> wrote:
> >On Nov 6, 2014, at 4:58 PM, Peter Haworth wrote:
> >
> >> I spent an hour yesterday trying to track down a bug that turned out
> >to be
> >> caused by a misspelled variable name.
> >
> >I don't use explicit variables, so I avoid misspelling variable names
> >by using Jaques' scriptPaint handler. Put this into a universal
> >(frontscript) library script, so it's available everywhere in LC:
> >
> >on controlkeydown which
> > if which = space and the shiftkey is down then
> > put the long name of the target into targRef
> > if "field" is not in targRef then pass controlkeydown
> > if "revNewScriptEditor" is not in targRef then pass controlkeydown
> > put the mouseText into the selection
> > else
> > pass controlkeydown
> > end if
> >end controlkeydown
> >
> >Then just set the insertion point in a script and hover over a variable
> >name and hit the spacebar (with control + shift) and the variable name
> >is copied over for you. Adjust the modifier keys as needed -- in my
> >workflow I use control-shift-<key> for all my scripting shortcuts.
> >
> >-- Peter
> >
> >Peter M. Brigham
> >pmbrig at gmail.com
> >http://home.comcast.net/~pmbrig
> >_______________________________________________
> >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
>
> --
> Jacqueline Landman Gay | jacque at hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
>
> _______________________________________________
> 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