Re: Setting hidden of lines very slow

2018-12-01 Thread Richard Gaskin via use-livecode
J. Landman Gay wrote: > Right, and accessing a field is one of the most expensive operations > in LC. > > Maybe Richard will post his analogy to the maintenance worker again. I > found it both amusing and informative. http://lists.runrev.com/pipermail/use-livecode/2005-May/057144.html :) --

uploading new app to mac app store

2018-12-01 Thread kee nethery via use-livecode
I’m uploading a new app to the Mac App Store and at the same time, revising my LiveCode Lesson on the same. Stuff has changed OR I’m just really missing something obvious. I’ve got the app built, signed, all that good stuff. I’ve added it into developer.apple.com with it’s bundle ID of

Re: LC-apps for HC

2018-12-01 Thread J. Landman Gay via use-livecode
As far as I know, LC includes all the scripted paint commands that HC had, and adds native color besides. The stacks I've imported that used painting commands worked with few changes, mostly only needing to slow them down due to LC's faster engine and more modern CPUs. The OP wants to emulate

Re: Setting hidden of lines very slow

2018-12-01 Thread J. Landman Gay via use-livecode
Right, and accessing a field is one of the most expensive operations in LC. Maybe Richard will post his analogy to the maintenance worker again. I found it both amusing and informative. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On

Re: Setting hidden of lines very slow

2018-12-01 Thread Tom Glod via use-livecode
So the first form populates the field only oncesince its a single command so no other states of the field will exist. Makes perfect sense. Thanks On Sat, Dec 1, 2018 at 7:45 PM Richard Gaskin via use-livecode < use-livecode@lists.runrev.com> wrote: > Tom Glod wrote: > > > Can someone

Re: LC-apps for HC

2018-12-01 Thread hh via use-livecode
> Richard G. wrote: > ... Is there anything in MacPaint that can't be done with LC's bitmap objects? "That can't be done" wins always, because the only limit for LC is the sky (more exactly, sadly, the sky below the 65535-limit for all coordinates). But there's a lot of features that are not

Magic "Integer" Circles

2018-12-01 Thread hh via use-livecode
Some of you may be interested in the following "mathy beauty". Under all circles with integer radius 0 < r <= 1 there are four "magic" ones with radius 5, 25, 65 and 325. These four have relatively many points of *integers* (x,y) such that x^2 + y^2 = r^2. (These points are NOT rounded values

Re: Setting hidden of lines very slow

2018-12-01 Thread Richard Gaskin via use-livecode
Tom Glod wrote: > Can someone explain the seemingly extraordinary performance > improvement in using apparently its "split second" vs "over a minute" > > set the hidden of line 1 to - 1 of field 1 to false > > vs. > > repeat with i = 1 the number of lines of fld 1 > set the hidden of line

Re: LC-apps for HC

2018-12-01 Thread Richard Gaskin via use-livecode
Ingar Roggen wrote: > I recognize the importance of asking adequate questions. I don’t know > if the one about MacPaint (MP) belongs to that group. But I use MP all > the time with SheepShaver and believe that the partial scriptability > of MP perhaps was HC’s greatest contribution to

Re: Setting hidden of lines very slow

2018-12-01 Thread Tom Glod via use-livecode
Can someone explain the seemingly extraordinary performance improvement in using apparently its "split second" vs "over a minute" set the hidden of line 1 to - 1 of field 1 to false vs. repeat with i = 1 the number of lines of fld 1 set the hidden of line i of fld 1 to false end repeat

Re: LC-apps for HC

2018-12-01 Thread Ingar Roggen via use-livecode
Thank you, Kee > 1. des. 2018 kl. 15.47 skrev Kee Nethery via use-livecode > : > > Great clarification. Thank you. Your question now makes perfect sense to me, > and I don’t have the answer for you. Hopefully someone else does. > > Kee Nethery > >> On Dec 1, 2018, at 1:42 AM, Ingar Roggen

Re: LC-apps for HC

2018-12-01 Thread Kee Nethery via use-livecode
Great clarification. Thank you. Your question now makes perfect sense to me, and I don’t have the answer for you. Hopefully someone else does. Kee Nethery > On Dec 1, 2018, at 1:42 AM, Ingar Roggen > wrote: > > I recognize the importance of asking adequate questions. I don’t know if the >

Re: Setting hidden of lines very slow

2018-12-01 Thread hh via use-livecode
> Kaveh wrote: > I can confirm that the htmltext method works beautifully and blindingly fast. So we have here two methods: The htmlText-method and the styledText-method. There is an interesting result in the speed comparison of the two methods. Here the htmlText-method is significantly faster

Re: Setting hidden of lines very slow

2018-12-01 Thread Kaveh Bazargan via use-livecode
Apologies hh. I can confirm that the htmltext method works beautifully and blindingly fast. I was going to try it to understand fully first. I now do and am grateful for the amazing tricks I have learned here. :-) On Sat, 1 Dec 2018 at 13:46, hh via use-livecode < use-livecode@lists.runrev.com>

Re: Setting hidden of lines very slow

2018-12-01 Thread hh via use-livecode
> Kaveh wrote: > I am looking to hide any line that contains no textcolor anywhere. I already gave you one that hides *exactly* these lines (as you already wished in your first post). > Hermann wrote: > Here yet another fast method. > > on mouseUp > put the millisecs into m1 > lock

Re: Setting hidden of lines very slow

2018-12-01 Thread Kaveh Bazargan via use-livecode
Hi all I have learned a lot here, especially the hint of using styledText. But there might be a misunderstanding. In my case, it is not necessarily the whole line that is styled, but a line might *contain* a chunk of text that is styled, e.g. one word in the middle of the line has textcolor set.

Re: LC-apps for HC

2018-12-01 Thread Ingar Roggen via use-livecode
I recognize the importance of asking adequate questions. I don’t know if the one about MacPaint (MP) belongs to that group. But I use MP all the time with SheepShaver and believe that the partial scriptability of MP perhaps was HC’s greatest contribution to interactive use of words and images