Re: What do we know about LC 10?

2018-08-30 Thread Geoff Canyon via use-livecode
Maybe? I haven't explored LCB at all. I'm much more interested in extending Livecode Script, if that ever becomes possible. On Thu, Aug 30, 2018 at 9:42 PM Brian Milby via use-livecode < use-livecode@lists.runrev.com> wrote: > Isn’t this somewhat possible in LCB now? I know there isn’t really any

Re: What do we know about LC 10?

2018-08-30 Thread Erik Beugelaar via use-livecode
In my opinion the focus should be on performance which has been slow down approx. 9 times compared to version 6. You can build as much as “features” as you want but this should never hit the performance of the product. Just my two cents. On 31/08/2018, 06:41, "use-livecode on behalf of Brian

Re: What do we know about LC 10?

2018-08-30 Thread Brian Milby via use-livecode
Isn’t this somewhat possible in LCB now? I know there isn’t really any documentation on how to write the syntax, but there are the examples of the built in libraries. But, the added syntax would only work in LCB code. Thanks, Brian On Aug 30, 2018, 11:31 PM -0500, Geoff Canyon via use-livecode

Re: What do we know about LC 10?

2018-08-30 Thread Geoff Canyon via use-livecode
On Thu, Aug 30, 2018 at 2:42 PM Martin Koob via use-livecode < use-livecode@lists.runrev.com> wrote: > I wonder if Open Language will get some attention.. > Open Language was always my favorite feature. I'd still like to be able to grow/morph the syntax. __

Mobile Rotation Redux

2018-08-30 Thread Brian Milby via use-livecode
I finally installed Android Studio. I have API 28, 26, and 15 installed. Everything else was pretty much the defaults. (Hint: you don't need to move the sdk directory out of your Library, just create an alias and put it on your desktop. When you select the alias, LC will resolve it and store the

Re: LiveCode 1.6.1 docset now available

2018-08-30 Thread James At The Hale via use-livecode
Mike asked... > James, > Talk about why dash. I mainly use my iPad to read my email. When reading LC stuff there have been times when I wanted to check the dictionary. Unfortunately for quite some time (almost as far back as the Kickstarter) to online API has not been friendly to a touch interf

Re: How to get word offset all instances of a string in a chunk of text?

2018-08-30 Thread Curry Kenworthy via use-livecode
Jim: > This just doesn’t work in all cases That's the key though, don't repeat when it's not necessary! A day with no repeats is an efficient day. ;) Best wishes, Curry Kenworthy Custom Software Development LiveCode Training and Consulting http://livecodeconsulting.com/ _

Re: Turn off .lc Web-browser Caching?

2018-08-30 Thread Tom Glod via use-livecode
try using javascript by doing "do in widget" https://www.ajaymatharu.com/how-to-prevent-image-from-caching-in-javascript/ i bet that javascript may be your best chance at controlling the browser widget in any kind of detail. good luck let us know if you got it. On Thu, Aug 30, 2018 at 5:51 PM R

Re: How to get word offset all instances of a string in a chunk of text?

2018-08-30 Thread Jim Lambert via use-livecode
> I wrote: > > Then there is also this repeat-less approach using arrays and filter: > function findWordOffsets pText, pSearchTerm > put replaceText(pText,"\W+"," ") into pText > split pText by space > combine pText with cr and tab > filter pText with "*" & tab & pSearchTe

Re: How to get word offset all instances of a string in a chunk of text?

2018-08-30 Thread Jim Lambert via use-livecode
> On 30/08/2018 10:24, Keith Clarke via use-livecode wrote: >> Folks, >> Is there a single-pass mechanism or more efficient way of returning the >> wordOffset of each instance of ?the? in ?the quick brown fox jumped over the >> lazy dog? than to use two passes through the text? Then there is als

Turn off .lc Web-browser Caching?

2018-08-30 Thread Rick Harrison via use-livecode
Hi there, I know this has come up before but looking through the old archives didn’t seem to turn up a working answer. Is there a good way to prevent a web-browser from re-displaying an image in it’s cache? I tried using a random number after the .lc URL such as: http://www.mysite.com/destinati

Re: What do we know about LC 10?

2018-08-30 Thread Martin Koob via use-livecode
I wonder if Open Language will get some attention.. It was on the Road Map in 2014. https://livecode.com/the-present-and-future-livecode/ >Open Language: With the core refactoring almost complete (LiveCode 7.0) we’ve started to turn our attention >to the final aspect of this project which is to o

XML Handler Conflict

2018-08-30 Thread Bob Sneidar via use-livecode
Bug report https://quality.livecode.com/show_bug.cgi?id=21544 Bob S ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/l

Re: What do we know about LC 10?

2018-08-30 Thread Richard Gaskin via use-livecode
Tom Glod wrote: > We have to remember the engine and the IDE are two distinct > projects. > The problems are mostly in the IDE. I;m finding the engine to be > very solid. The one thing every LiveCode scripter has in common is that they can use LiveCode Script. The more IDE scripting fixe

Re: What do we know about LC 10?

2018-08-30 Thread Mike Kerner via use-livecode
Mark tends to complain about the engine, but they also inherited the engine when they bought it from MetaCard. He has said that it is difficult to work on. On Thu, Aug 30, 2018 at 2:57 PM Tom Glod via use-livecode < use-livecode@lists.runrev.com> wrote: > Kevin seemed pretty pumped about it. > >

Re: What do we know about LC 10?

2018-08-30 Thread Tom Glod via use-livecode
Kevin seemed pretty pumped about it. We have to remember the engine and the IDE are two distinct projects. The problems are mostly in the IDE. I;m finding the engine to be very solid. On Thu, Aug 30, 2018 at 2:29 AM Erik Beugelaar via use-livecode < use-livecode@lists.runrev.com> wrote: > J

Re: fullscreenmode and rect of a substack on mobile device ?

2018-08-30 Thread Ludovic THEBAULT via use-livecode
> Le 30 août 2018 à 17:14, Sannyasin Brahmanathaswami via use-livecode > a écrit : > > Ludovic > > Can you copy that whole handler to the list? > > round((item 4 of the screenrect*the systemscale)/2)-theight // +theight > > only seems partial? Hello, You can download my test stack here :

Re: fullscreenmode and rect of a substack on mobile device ?

2018-08-30 Thread Brian Milby via use-livecode
In the above code, I don't see a "local sRect" declaration which would need to be outside the handlers to work as intended. What about just hard coding the rect as a test? If you can set the stack rect to what you know the screen to be that way, then we can proceed to figure out why that value is

Re: Tree View Values

2018-08-30 Thread Brian Milby via use-livecode
There is already a PR merged into 9.1 that will auto select the text of any field in the PI when you enter it via tab. This also selects the key field in the Custom Properties inspector when the highlight changes. If you tab into the value, then the value is selected. Changing the logic to selec

Re: Handler Conflict

2018-08-30 Thread Bob Sneidar via use-livecode
I will ina bit. I'm on conference calls until lunch. Bob S > On Aug 29, 2018, at 16:35 , Monte Goulding via use-livecode > wrote: > >> On 30 Aug 2018, at 1:15 am, Bob Sneidar via use-livecode >> wrote: >> >> Just a heads up for anyone using Trevor's excellent XML library, the >> ConvertX

Re: Tree View Values

2018-08-30 Thread Bob Sneidar via use-livecode
Hi Brian. Actually for my purposes I need the last key of the array node. For example, if I have an array: myArray [level1] [level2] [level3] and the value is "Test1" then I need to return an array: aArrayNode [level3] I worked it out using my method so I'm not asking for a modification to

RE: fullscreenmode and rect of a substack on mobile device ?

2018-08-30 Thread Ralph DiMola via use-livecode
I don't use a sub-stack to move from the splash to the main GUI stack. My stub-stack (after using my hack to display the splash card correctly) does 1: load all library stacks, sets all behaviors/back scripts,... 2: a send in 10 ticks to a handler that opens the GUI stack. After that there is no is

Re: fullscreenmode and rect of a substack on mobile device ?

2018-08-30 Thread Sannyasin Brahmanathaswami via use-livecode
I tried it. Sure, I get the screenrect in advance; I put an answer sRect in a one stack opencard script... I get an answer... but this does not work on the stack the has browser... so I now suspect to browser widget is blocking "registration" the screen rect. Now only that it may be block

Re: fullscreenmode and rect of a substack on mobile device ?

2018-08-30 Thread Sannyasin Brahmanathaswami via use-livecode
Ludovic Can you copy that whole handler to the list? round((item 4 of the screenrect*the systemscale)/2)-theight // +theight only seems partial? On 8/19/18 6:11 PM, Ludovic THEBAULT via use-livecode wrote: > But i found i can get the « real » top and bottom with : round((item 4 of the > scree

Re: Tree View Values

2018-08-30 Thread Bob Sneidar via use-livecode
Oh there you go! That works. Bob S > On Aug 29, 2018, at 13:58 , Brian Milby via use-livecode > wrote: > > Here is another way to do it: > > function getHilightedValue pTreeWidgetReference > local tElement, tArray > put the arrayData of pTreeWidgetReference into tArray > put the hilite

Re: fullscreenmode and rect of a substack on mobile device ?

2018-08-30 Thread Sannyasin Brahmanathaswami via use-livecode
Ha! One has to thank our community for "never giving up!" That spirit alone is worth it weight in gold -- the Indy License! @ Brain "Gee, why didn't I think of that!" Not calling as substack; I use this as navigation between mainstack (the splash screen and that has the stack files is always

Re: How to get word offset all instances of a string in a chunk of text?

2018-08-30 Thread Curry Kenworthy via use-livecode
hh: > Sadly LC 9 is at about 10 times slower > than LC 6 with such fast scripts. Yes, I've been doing some benchmarks and LC 9 usually takes anywhere from 2x to 8x as long to perform a job. With or without text being involved. It is a serious problem that should not be neglected across mult

Re: LiveCode 1.6.1 docset now available

2018-08-30 Thread Mike Kerner via use-livecode
James, Talk about why dash. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode

Re: How to get word offset all instances of a string in a chunk of text?

2018-08-30 Thread hh via use-livecode
> Alex T. wrote: > > put 0 into tOffset > repeat for each trueWord W in tSource >add 1 to tOffset >if W = myWord then > put tOffset & comma after tOffsetList >end if > end repeat This is (whether trueWord or word chunks used) probably the fastest method for an offset counting of

Re: How to get word offset all instances of a string in a chunk of text?

2018-08-30 Thread hh via use-livecode
For a more general context see http://www.runrev.com/pipermail/use-livecode//2004-February/032280.html Sadly LC 9 is at about 10 times slower than LC 6 with such fast scripts. For example LC 6.7.11 needs at about 500 ms to evaluate a 1 MByte string, LC 9.0.0 needs at about 5 seconds. ___

Re: How to get word offset all instances of a string in a chunk of text?

2018-08-30 Thread Alex Tweedly via use-livecode
OK, this time I'm just typing into email - havent tested these suggestions :-) On 30/08/2018 10:24, Keith Clarke via use-livecode wrote: Folks, Is there a single-pass mechanism or more efficient way of returning the wordOffset of each instance of ‘the’ in ‘the quick brown fox jumped over the

How to get word offset all instances of a string in a chunk of text?

2018-08-30 Thread Keith Clarke via use-livecode
Folks, Is there a single-pass mechanism or more efficient way of returning the wordOffset of each instance of ‘the’ in ‘the quick brown fox jumped over the lazy dog’ than to use two passes through the text? Pass-1. Count the instances of ‘the’ into an array and then Pass-2. Repeat for the count o