lineOffset wildcard

2021-04-19 Thread Mark Wieder via use-livecode
I'm sure I'm missing something simple here but... I need to use a wildcard in the lineOffset function but I can't seem to find the correct invocation. put lineoffset("local*", tScript) into tPos always returns zero put lineoffset(tFunctionName, tScript) into tPos of course returns a line

Re: Multiple stacks showing at once on mobile

2021-04-19 Thread Brian Milby via use-livecode
Currently only one at a time, even if it does not render with content covering the whole screen (some full screen modes have black borders) Sent from my iPhone > On Apr 19, 2021, at 11:54 AM, Gabe J via use-livecode > wrote: > > ´╗┐Hey All, > > Is it possible to have more than one stack

Re: lineOffset wildcard

2021-04-19 Thread J. Landman Gay via use-livecode
On 4/19/21 11:29 AM, Mark Wieder via use-livecode wrote: I'm sure I'm missing something simple here but... I need to use a wildcard in the lineOffset function but I can't seem to find the correct invocation. put lineoffset("local*", tScript) into tPos always returns zero put

Multiple stacks showing at once on mobile

2021-04-19 Thread Gabe J via use-livecode
Hey All, Is it possible to have more than one stack showing at a time on mobile? Or is it always one stack showing at full-screen? Gabe ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and

Re: Android splash and icon

2021-04-19 Thread Bob Sneidar via use-livecode
They can still find you and know everything about you. Unless your tin foil had is in working order. ;-) Bob S > On Apr 16, 2021, at 03:23 , Klaus major-k via use-livecode > wrote: > > P.S. > Yes, I bought me a used Samsung Galaxy J7, my first cellphone ever, > and I am currently making my

Re: lineOffset wildcard

2021-04-19 Thread Bob Sneidar via use-livecode
I think either matchText, or else wholematches used with some form of xOffset is what you want. Bob S > On Apr 19, 2021, at 09:29 , Mark Wieder via use-livecode > wrote: > > I'm sure I'm missing something simple here but... > > I need to use a wildcard in the lineOffset function but I

Re: lineOffset wildcard

2021-04-19 Thread Mark Wieder via use-livecode
On 4/19/21 11:04 AM, J. Landman Gay via use-livecode wrote: I don't think lineoffset supports wildcards, but you could do it with matchChunk. Ah! matchChunk and the the number of lines of... etc... That should do it. -- Mark Wieder ahsoftw...@gmail.com

Re: lineOffset wildcard

2021-04-19 Thread Mark Wieder via use-livecode
On 4/19/21 12:11 PM, Bob Sneidar via use-livecode wrote: Someone needs to update the dictionary then. wholeMatches Syntax set the wholeMatches to {true | false} Summary Specifies whether the lineOffset, wordOffset, and itemOffset functions search only for entire lines, words, or items.

Re: Android splash and icon

2021-04-19 Thread J. Landman Gay via use-livecode
It's unlikely if the phone makes no calls, doesn't download any apps, and has location, targeted ads, and other relevant permissions turned off. I have four test phones, only one has an actual phone number, and the other three only connect to my Mac and are largely invisible to the world. I

Re: lineOffset wildcard

2021-04-19 Thread Mark Wieder via use-livecode
On 4/19/21 11:13 AM, Bob Sneidar via use-livecode wrote: Why even embed the function? put "local" & tString & functionName() into tSearchString set wholeMatches to true put lineOffset(tSearchString) into tLine Or am I misunderstanding the problem (again)? :-) Been there. the wholematches

Re: lineOffset wildcard

2021-04-19 Thread Bob Sneidar via use-livecode
Someone needs to update the dictionary then. wholeMatches Syntax set the wholeMatches to {true | false} Summary Specifies whether the lineOffset, wordOffset, and itemOffset functions search only for entire lines, words, or items. Bob S > On Apr 19, 2021, at 11:49 , Mark Wieder via

Re: lineOffset wildcard

2021-04-19 Thread Ken Ray via use-livecode
> On Apr 19, 2021, at 1:47 PM, Mark Wieder via use-livecode > wrote: > > On 4/19/21 11:04 AM, J. Landman Gay via use-livecode wrote: > >> I don't think lineoffset supports wildcards, but you could do it with >> matchChunk. > > Ah! matchChunk and the the number of lines of... etc... > That

Re: lineOffset wildcard

2021-04-19 Thread Bob Sneidar via use-livecode
Why even embed the function? put "local" & tString & functionName() into tSearchString set wholeMatches to true put lineOffset(tSearchString) into tLine Or am I misunderstanding the problem (again)? :-) Bob S > On Apr 19, 2021, at 11:04 , J. Landman Gay via use-livecode > wrote: > > On

Re: lineOffset wildcard

2021-04-19 Thread Mark Wieder via use-livecode
On 4/19/21 3:02 PM, Bob Sneidar via use-livecode wrote: IOC I guess I did misunderstand after all. Nah... I should have worded it differently to start with. -- Mark Wieder ahsoftw...@gmail.com ___ use-livecode mailing list

Re: lineOffset wildcard

2021-04-19 Thread Bob Sneidar via use-livecode
IOC I guess I did misunderstand after all. Bob S On Apr 19, 2021, at 12:32 PM, Mark Wieder via use-livecode mailto:use-livecode@lists.runrev.com>> wrote: On 4/19/21 12:11 PM, Bob Sneidar via use-livecode wrote: Someone needs to update the dictionary then. wholeMatches Syntax set the

Re: lineOffset wildcard

2021-04-19 Thread Mark Wieder via use-livecode
I'll try benchmarking this against Jacque's suggestion of matchChunk. Filter is normally pretty fast, but I'll have to use the regex version, and I'm not sure what the speed implications will be. Benchmark result averages over 10 runs on a 2700-line script: filter lines of script 2612.6ms

Re: lineOffset wildcard

2021-04-19 Thread Mark Wieder via use-livecode
On 4/19/21 1:02 PM, Ken Ray wrote: On Apr 19, 2021, at 1:47 PM, Mark Wieder via use-livecode mailto:use-livecode@lists.runrev.com>> wrote: On 4/19/21 11:04 AM, J. Landman Gay via use-livecode wrote: I don't think lineoffset supports wildcards, but you could do it with matchChunk. Ah!

rant: truewordOffset

2021-04-19 Thread Mark Wieder via use-livecode
I'm also annoyed at truewordOffset. Consider this: you can get an offset in truewords (the number of truewords that occur before the given argument, but you can't get an offset *to* a given trueword. put truewordOffset(tString, tText, tSkip) will give you a value in truewords. And you can