Regarding id caching, I had an idea that one might be able to use it to
emulate the performance gain of a 'repeat for each...' style structure on
controls.
Referencing a control by number or name will iterate through the controls
of the card until it gets to the specified one. Thus a loop of the
On Thu, Oct 30, 2014 at 2:36 PM, Richard Gaskin ambassa...@fourthworld.com
wrote:
2. StyledText array
Pages 16-18 of the v5.5.4 Release Notes:
http://downloads.livecode.com/livecode/5_5_4/LiveCodeNotes-5_5_4.pdf
Anyone here use this? Is it faster than doing equivalent operations on
I am sorry to report that the pageranges property of fields is still broken in
7.0.
Create a field and place this in a button:
on mouseUp
put empty into fld 1
set the height of fld 1 to 60
repeat with i = 1 to 10
put i cr after fld 1
end repeat
set the spaceabove line 2
On Thu, Oct 30, 2014 at 3:32 PM, Alex Tweedly a...@tweedly.net wrote:
If I could remember well enough how to find things on Nabble or Gmane, I'd
just point to the original thread - but since I can't and am in a hurry -
here's a message I sent to this list on 12/05/2013.
There are *very* few
On Thu, Oct 30, 2014 at 9:48 PM, Richard Gaskin ambassa...@fourthworld.com
wrote:
Rightly so, according to the inventor of the LiveCode engine: Dr. Raney
once explained to me that the purpose of htmlText is to provide an
easily-manipulatable way to faithfully reproduce the entire contents
My guess would be data grids and anything using behaviors.
Bob S
On Oct 30, 2014, at 21:04 , Richard Gaskin
ambassa...@fourthworld.commailto:ambassa...@fourthworld.com wrote:
What I find most remarkable is the way your benchmark makes the value of this
ID caching seem rather trivial.
I
The improved field control of LC 5.4 and 6.0 and up has been extremely useful
to me. I use StyledText Array in much the same way as Trevor -- applying
format changes. And metadata attached to field chunks is a great feature
that's very useful for educational content creators.
Overall, the field
On 31/10/2014 04:04, Richard Gaskin wrote:
Alex Tweedly wrote:
H - I said this once before :-) :-)
My apologies for the inconvenience. I'd either missed it before or
completely forgot about it, but the latter seems unlikely given how
remarkable the post was:
Oh Richard - I even
Dr. Hawkins wrote:
so does styledText even have a purpose any more? Should it
be treated as deprecated?
It seems it serves a very different purpose than htmlText. It's a new
addition and folks find it useful, so I wouldn't expect it to be deprecated.
Trevor DeVore wroteL
I use styled
On 30 Oct 2014, at 18:36, Richard Gaskin ambassa...@fourthworld.com wrote:
2. StyledText array
Pages 16-18 of the v5.5.4 Release Notes:
http://downloads.livecode.com/livecode/5_5_4/LiveCodeNotes-5_5_4.pdf
Anyone here use this? Is it faster than doing equivalent operations on
htmlText?
Alex Tweedly wrote:
On 31/10/2014 04:04, Richard Gaskin wrote:
What I find most remarkable is the way your benchmark makes the value
of this ID caching seem rather trivial.
...
It is a trivial example - but the speed-up of 50X seems significant.
In relative terms it certainly seems so, but
Always valuable to read your words here, Fraser. Meeting you was one of
the key highlights for me at the conference.
You wrote:
Internally, the field is structured somewhat like this(*):
- Field
- Paragraph 1
- Run 1
- Run 2
- Paragraph 2
and the styledText
That settles it. Richard Gaskin is an Alien Android!!
Bob S
On Oct 31, 2014, at 10:40 , Richard Gaskin
ambassa...@fourthworld.commailto:ambassa...@fourthworld.com wrote:
That said, I tend to be somewhat obsessive about performance because I see
every nanosecond saved as a penny in a bank
1. ID caching
Page 10 of the v6.0 Release Notes:
http://downloads.livecode.com/livecode/6_0_0/LiveCodeNotes-6_0_0.pdf
The description there says:
The engine now caches lookups of control references of the form
“card id ...” and “control id ...”. This speeds up any access
using those
I use the styled arrays quite often when creating content, applying styles and
taking advantage of the metadata. I can’t comment on the speed.
I have a tendency to think in terms of arrays so this is pretty comfortable for
me.
I did a lot of work using space above and below and was
On 30/10/2014 18:36, Richard Gaskin wrote:
1. ID caching
Page 10 of the v6.0 Release Notes:
http://downloads.livecode.com/livecode/6_0_0/LiveCodeNotes-6_0_0.pdf
The description there says:
The engine now caches lookups of control references of the form
“card id ...” and “control id ...”.
Michael Doub wrote:
I use the styled arrays quite often when creating content, applying
styles and taking advantage of the metadata.
Thanks. I still don't understand how I might use it, but I'm glad
someone's using it.
RunRev don't generally spend time on a feature unless there's either a
Alex Tweedly wrote:
On 30/10/2014 18:36, Richard Gaskin wrote:
1. ID caching
Page 10 of the v6.0 Release Notes:
http://downloads.livecode.com/livecode/6_0_0/LiveCodeNotes-6_0_0.pdf
The description there says:
The engine now caches lookups of control references of the form
“card id ...”
On 31 Oct 2014, at 2:55 pm, Richard Gaskin ambassa...@fourthworld.com wrote:
If RunRev needed this themselves, they've done a good job of concealing why.
:) Copying styled text works great with htmlText.
Richard if you remember originally styledText supported a few things that
htmlText
Monte Goulding wrote:
On 31 Oct 2014, at 2:55 pm, Richard Gaskin wrote:
If RunRev needed this themselves, they've done a good
job of concealing why. :) Copying styled text works
great with htmlText.
Richard if you remember originally styledText supported
a few things that htmlText didn't
20 matches
Mail list logo