List Navigation

2015-06-06 Thread Peter W A Wood
One of the features of LiveCode is its strong list processing capabilities. In some ways, LiveCode does such a good job of list processing that it is almost hidden. One thing that I’ve not found, but I’m hoping somebody on the list has, is list navigation. What I’m looking for is something simi

Re: Simple .lc Script to INSERT data...?

2015-06-06 Thread Alex Tweedly
Somebody has to say it that's one of the reasons why "Variable checking (aka explicitVariables) is so useful, it helps to catch things like this. Of course, it is unfortunately not available in LC Server scripts :-( So I should go add an enhancement request. The only reason I haven't done

Re: Simple .lc Script to INSERT data...?

2015-06-06 Thread Mike Bonner
You're welcome. Fresh eyes are usually pretty helpful. I get code blind LOTS and end up putting it away for a while in hopes that I'll get some of that freshness back. Seldom works, but I keep trying! On Sat, Jun 6, 2015 at 4:46 PM, JOHN PATTEN wrote: > Yup. That was it… It’s incredible how ea

Re: Simple .lc Script to INSERT data...?

2015-06-06 Thread JOHN PATTEN
Yup. That was it… It’s incredible how easy it is to miss this kind of thing and waste time :( I can’t wait until I can just tell the robot to write the code for what I describe. The robot would never make this type of error ;) Thanks Again! > On Jun 5, 2015, at 5:14 PM, Mike Bonner wrote: >

Re: Unused Methods

2015-06-06 Thread Peter Haworth
If you are in the script editor window, you can right click on the name of any handler and select "Go to definition" to display the handler in another tab in the script editor. Of course that means finding a call to the handler you're interested in or just adding a line of code somewhere that call

Re: Unused Methods

2015-06-06 Thread Terence Heaford
> On 6 Jun 2015, at 21:51, Terence Heaford wrote: > > I simply used Find & Replace in the IDE, input the handler I was searching > for and it took 60 seconds to parse the stack. Please note this is the Find & Replace that is NOT in the Script Editor? The Find & Replace in the script editor t

Re: Unused Methods

2015-06-06 Thread Terence Heaford
> On 6 Jun 2015, at 18:05, Richard Gaskin wrote: > > I would be interesting to learn more about the areas where Terence has found > it slow to do these sorts of things. I simply used Find & Replace in the IDE, input the handler I was searching for and it took 60 seconds to parse the stack.

Re: Unused Methods

2015-06-06 Thread Malte Brill
Richard wrote: > > I haven't seen a language with a built-in function for finding orphaned > handlers across a code base I always get jealous when I see the Java collegues work with eclipse… Best, Malte ___ use-livecode mailing list use-livecode@list

Re: Unused Methods

2015-06-06 Thread Richard Gaskin
Mike Kerner wrote: > On Sat, Jun 6, 2015 at 9:29 AM, Terence Heaford wrote: > >> What made me ask this question is because of the amount of time >> it takes the IDE to find and list methods that I ask it to find. >> >> This would be an acceptable way of working if it wasn't so slow. > > I'm not t

Re: LiveCode 8 and a new video player?

2015-06-06 Thread Richard Gaskin
Kay C Lan wrote: This is probably thread drift but video playback is so 20th century. I had an old acquaintance pass through town and we caught up. He's working for a start up that's doing something similar to Google Glass. He had a demo unit to show me. The googles worked with any users phone

Re: Unused Methods

2015-06-06 Thread Mike Kerner
I'm not trying to be a smart-ass with this, so don't take this as some dismissive remark. What I really want is to get everyone who gets interested in one little piece of the IDE to crack the lid on it and work on it. The easiest way, IMHO, to do what you are suggesting, is to add some code to th

Re: Unused Methods

2015-06-06 Thread Terence Heaford
What made me ask this question is because of the amount of time it takes the IDE to find and list methods that I ask it to find. This would be an acceptable way of working if it wasn't so slow. All the best Terry > On 6 Jun 2015, at 13:42, Mike Kerner wrote: > > No, and that would be quit

Re: Unused Methods

2015-06-06 Thread Mike Kerner
No, and that would be quite a bit harder, here, because the structure is different: "Send", "Dispatch", and "Do" will all let you build a call, dynamically, to any handler in any stack. Plus, since everything is event-driven, one would have to determine everything that is user-event driven, and i

Unused Methods

2015-06-06 Thread Terence Heaford
In many development environments there is a function to find unused(uncalled) methods, does such a function exist within the LiveCode IDE? All the best Terry ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscr