I just stumbled across a couple more of these.
\begin{wild_speculation}
when there is an undeclared variable slipping through, the shadow bug is
more likely
to bite
\end{wild_speculation}
--
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
use-live
Richard
Tnx for the suggestion. I guess debugging would go the same. It could make
things much easier and cleaner.
Bill
William Prothero
http://ed.earthednet.org
> On Feb 18, 2015, at 5:07 PM, Richard Gaskin
> wrote:
>
> William Prothero wrote:
>
> > I’m setting up my app. It consists of va
A few days back I finished doing a few minor corrections to my Unicode
"File/Folder/Picture Choosers" for Windows and Linux, and declared them
"stable". If you download them, please test them well before
distributing them in any way, to make absolutely sure they are as
"stable" as I think they
On 2/18/2015 6:50 PM, Dan Friedman wrote:
> Greetings! I am trying to set the tabStops to fit the data a field. The
> script below works great! However, ask it to process a few thousand lines
> with 10 or so columns, and you'll have time to get a cup of coffee! Any
> ideas on how to speed th
William Prothero wrote:
> I’m setting up my app. It consists of various stacks and their
> library stacks. When each sub-section of the app gets called from
> the main index stack, the destination main stack is loaded, and this
> then loads a library stack and its substacks that hold the library
Or what mark S said, though if you have styled text, the number of chars in
the line <> the formattedwidth, so that may not work, but neither will
mine. SO yep, interesting problem.
Ah. Got it.
If the "last line" of text is a fast chunk (or the first for that matter)
you can set the htmltext of a
Thanks! I’ll do that. I parsed the “target” to get the source, then added it to
each field command. Much easier to just set the default stack, tho. The
description of “default stack” in the docs didn’t seem to do what I wanted, but
perhaps I should have tried it before doing the other fixes.
Bil
number if items not tabs. DOH. Delimiter on the brain.
On Wed, Feb 18, 2015 at 5:40 PM, Mike Bonner wrote:
> Ah, here. If you're looking for the longest formatted line, you can do
> "the formattedwidth of field..." whatever.
>
> Then, if you're looking for the maximum number of tabs, you can
Hi Dan,
Don't use repeat loops. Just sort the lines by the number of chars of
item x and get the lineoffset for that line. When you know the line
number, you can get the formattedWidth of the longest item in that line
and base the tabstops on that.
If you use a clever function, you should al
Ah, here. If you're looking for the longest formatted line, you can do
"the formattedwidth of field..." whatever.
Then, if you're looking for the maximum number of tabs, you can cycle
through the lines with for each, and look for the line with the most items.
(if the number of items in tLine > t
The problem here is that even though you use the for each form, you are
still using chunking (line x of field y) to do your checks.
I don't know if there is a way to put the formatted text into a variable in
such a way that when you use "for each" you can check the formattedwidth of
tLine
Since y
Also, you can add "of me" to the end of the code refs to fields and
other objects. That will identify them as belonging to the stack or card
whose script is running.
Like so:
put myText into field “myField” of me
Phil Davis
On 2/18/15 4:07 PM, Scott Rossi wrote:
Try setting the default
Try setting the defaultStack property to the stack that contains your field and
data first.
Regards,
Scott Rossi
Creative Director
Tactile Media UX/UI Design
> On Feb 18, 2015, at 3:53 PM, William Prothero wrote:
>
> I have one stack that calls another stack using:
> go to stack “myStack"
>
I have one stack that calls another stack using:
go to stack “myStack"
In “myStack” I’ve got an openstack and open card handler in the first card of a
stack that I’m opening. But, all of the references to fields, in my
initialization code, require the complete card and stack name. If I put in a
Greetings! I am trying to set the tabStops to fit the data a field. The
script below works great! However, ask it to process a few thousand lines with
10 or so columns, and you'll have time to get a cup of coffee! Any ideas on
how to speed this up? Maybe there is some magical property I don
That's great - thank you for that !
-- Alex.
On 18/02/2015 20:39, Geoff Canyon wrote:
On Tue, Feb 17, 2015 at 4:33 PM, Alex Tweedly wrote:
Though it would be kinda cool to do a quick LC simulation showing visible
"animation" of the variable and index as it goes through the loop.
I did somet
OK, thanks Devin, just checking.
On Wed Feb 18 2015 at 2:06:53 PM Devin Asay wrote:
>
> On Feb 18, 2015, at 2:34 PM, Peter Haworth wrote:
>
> > Reading the bug report, it sounds like it was only fixed in 7.0 not prior
> > releases.. Have you seen it work OK in releases prior to 7.0, Devin?
>
>
Yes, it is: I'm a convert. Somehow when I tried to do this long ago it seemed
more difficult and so I dropped it like a hot coal, and the memory made me
search for solutions elsewhere. Maybe it was me all the time (very likely) or
maybe things have changed.
Anyway with the usual fabulous help f
On Feb 18, 2015, at 2:34 PM, Peter Haworth wrote:
> Reading the bug report, it sounds like it was only fixed in 7.0 not prior
> releases.. Have you seen it work OK in releases prior to 7.0, Devin?
Whoops, yes, I missed that detail in your original post, that you were working
in 6.6.2. To my k
Hi Geoff,
thank you for the stack, it is very instructive.
Kind regards
Bernd
Geoff Canyon-4 wrote
> I did something like this:
>
> https://dl.dropboxusercontent.com/u/41182876/foreach.livecode
>
> It shows a field and parses through the field, highlighting each character
> in blue as it cons
Reading the bug report, it sounds like it was only fixed in 7.0 not prior
releases.. Have you seen it work OK in releases prior to 7.0, Devin?
On Wed Feb 18 2015 at 1:22:34 PM Devin Asay wrote:
>
> On Feb 18, 2015, at 2:14 PM, Peter Haworth wrote:
>
> > Continuing to implement unicode in an ap
> RichardG wrote:
>
> When text is rendered on screen (in LC, Word, or even a Web browser),
> it's a binary structure of text and style runs.
Just to mix it up more, on OS X the screen is rendered in Display PostScript.
Jim Lambert
___
use-livecode
On Feb 18, 2015, at 2:14 PM, Peter Haworth wrote:
> Continuing to implement unicode in an app using LC 6.6.2 and OSX 10.10.
>
> I switched to the French keyboard to do some testing keying in French
> accented characters into text field and storing the data into an SQLite
> database.
>
> Then I
Continuing to implement unicode in an app using LC 6.6.2 and OSX 10.10.
I switched to the French keyboard to do some testing keying in French
accented characters into text field and storing the data into an SQLite
database.
Then I switched to the Greek keyboard. The unicode/SQLite stuff still
wo
On Tue, Feb 17, 2015 at 4:33 PM, Alex Tweedly wrote:
> Though it would be kinda cool to do a quick LC simulation showing visible
> "animation" of the variable and index as it goes through the loop.
>
I did something like this:
https://dl.dropboxusercontent.com/u/41182876/foreach.livecode
It sh
On 2/18/2015 2:00 PM, Richmond wrote:
As far as I can see the problem that Graham has is that editing the text
in situ is that
it is not WYSIWYG.
Sure it is.
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On 2/18/2015 1:39 PM, Graham Samuel wrote:
You probably can. But when I started trying to do this, it didn't
work for some reason. For example, in the IDE I create a field and I
write some text into it. A bit of this text is
His sins were scarlet, but his books were read.
I decide to make this
Richmond wrote:
> As far as I can see the problem that Graham has is that editing
> the text in situ is that it is not WYSIWYG.
While it's true that some of the advanced field features introduced in
v5.5 don't have IDE support yet (paragraph borders, etc.), the basics
are there in the IDE's Te
On 18/02/15 21:26, J. Landman Gay wrote:
On 2/18/2015 3:32 AM, Graham Samuel wrote:
This text is static in my standalone, but I have often needed to
change it during development. I have not found a simple way to do
this, and I have now resorted to having a ‘plain text’ field
(‘myText’) with the
I've been working on text styling toolstrip for a while which has
icons/menus for most of the common text styling attributes. It's not
really great from the UI perspective but it might be worth a try to solve
this one sepcific problem. If interested, contact me off list and I'll
send it to you.
You probably can. But when I started trying to do this, it didn't work for some
reason. For example, in the IDE I create a field and I write some text into it.
A bit of this text is
His sins were scarlet, but his books were read.
I decide to make this red, bold, Perpetua, leaving the rest of t
Folks:
I’m setting up my app. It consists of various stacks and their library stacks.
When each sub-section of the app gets called from the main index stack, the
destination main stack is loaded, and this then loads a library stack and its
substacks that hold the library code. The library substa
Graham Samuel wrote:
> Richard, great insight as usual. I see that bothering with HTML
> was probably a totally unnecessary trip down the rabbit hole.
HtmlText is great for many things, but styledText is also pretty cool,
and as Jacque suggested using the LC commands to set the style
attribute
Richard, great insight as usual. I see that bothering with HTML was probably a
totally unnecessary trip down the rabbit hole.
While I hide behind a rock (to deflect the shrapnel), who decided what the
standard for style runs should be? Not Microsoft, I assume. Like there are some
underlying con
On 2/18/2015 3:32 AM, Graham Samuel wrote:
This text is static in my standalone, but I have often needed to
change it during development. I have not found a simple way to do
this, and I have now resorted to having a ‘plain text’ field
(‘myText’) with the whole html of the target field in it, and
On 18 Feb 2015, at 18:08, Richard Gaskin wrote:
> Know the engine.
> Trust the engine.
> Use the engine.
The engine is your friend.
All hail the mighty engine.
I think Nietzsche may have been right… when you gaze too long into the engine,
the engine also gazes into you.
Fraser
Graham Samuel wrote:
> I just tried it and of course it works, but I can’t quite see
> what’s happening inside LC. I mean, I can select the field
> within my stack which has the formatted text in it, copy it
> and paste it into Word, and bingo! it looks the same. There
> is no obvious sign that W
Curry, that’s really interesting: I just tried it and of course it works, but I
can’t quite see what’s happening inside LC. I mean, I can select the field
within my stack which has the formatted text in it, copy it and paste it into
Word, and bingo! it looks the same. There is no obvious sign th
I’ll buy it when you are done!
Bob S
> On Feb 18, 2015, at 09:00 , Curry Kenworthy wrote:
>
>
> Bob Sneidar:
>
> > Didn’t someone write a plugin that allows you to edit the text
> > attributes and styles of text in a field?
>
> I made one called FieldTrip.
>
> It's currently being updated
Me too!
Graham
> On 18 Feb 2015, at 18:03, Bob Sneidar wrote:
>
> I’ll buy it when you are done!
>
> Bob S
>
>
>> On Feb 18, 2015, at 09:00 , Curry Kenworthy wrote:
>>
>>
>> Bob Sneidar:
>>
>>> Didn’t someone write a plugin that allows you to edit the text
>>> attributes and styles of te
Looks like locking messages before setting the rect of the stack resolves this
problem as a workaround.
Bob S
> On Feb 18, 2015, at 09:00 , Bob Sneidar wrote:
>
> OK so there are still problems with 6.7.2. In a front script I have
>
> on openCard
>-- set the size of the stack to the si
Bob Sneidar:
> Didn’t someone write a plugin that allows you to edit the text
> attributes and styles of text in a field?
I made one called FieldTrip.
It's currently being updated for newer iOS and LC versions, because FT
is 10% text styling and 90% custom mobile/desktop GUI. Plus there are
OK so there are still problems with 6.7.2. In a front script I have
on openCard
-- set the size of the stack to the size of the background image
if there is an image "imgBackground" then
lock screen
put the topLeft of this stack into theTopLeft
set the rect of this stack to
Works fine in 6.7.2. Apparently someone saw this in the initial release of 6.7
and fixed it. Looks like my issue with “holes” where controls should have been
will also be resolved.
Bob S
On Feb 18, 2015, at 08:09 , Bob Sneidar
mailto:bobsnei...@iotecdigital.com>> wrote:
Okay I created a simp
Okay I created a simple stack in version 6.7 (I could have sworn I was using
6.7.1 but apparently not and I am not being offered any new version.) I have 2
cards. In the card script of one, I have:
on openCard
set the height of this stack to 300
end openCard
In the second card script I have
Didn’t someone write a plugin that allows you to edit the text attributes and
styles of text in a field?
Bob S
On Feb 18, 2015, at 01:32 , Graham Samuel
mailto:livf...@mac.com>> wrote:
This seems kind of mad, but I can’t see how I can edit the original text in
situ during the development pro
To my knowledge yes, but then I never tested it thoroughly, never having needed
to. But I did test your stack and found that clearly send in time sent right
away and ignored the in time argument.
Bob S
On Feb 17, 2015, at 23:48 , Richmond
mailto:richmondmathew...@gmail.com>> wrote:
I wonder
That was just a test to demonstrate the problem I was having and it was a
flawed one. I ran into a recursion problem, putting go to card and go back in
an openCard handler (DOH!)
The *actual* problem was that changing the size of the stack caused code
further on to fail that normally succeeded
Mae inglesh nawt so goot. I didn't include the transaction code (or the
creating the database in memory instead of on disk code) in the examples
because it's the same in both and the question is why is the one sample so
much slower than the other.
On Tue, Feb 17, 2015 at 11:06 PM, Dr. Hawkins wr
Graham Samuel:
> I have a fairly elaborately formatted field (say ‘myFormattedText) -
> coloured text, different fonts, styles and sizes.
...
> I can’t see how I can edit the original text in situ during the
> development process: so I am reduced to editing the raw html in the
> ‘myText’ field,
Hi Graham,
if you want to go Livecode you could put a handler in the field that
contains the htmlText of your original field
-
on textChanged
set the htmlText of field "fText" to me
end textChanged
-
That way you would have immediate feedback.
Or if you want to be more
Have you tried using Brackets together with the Chrome-browser? This will give
you a live update of the html in the Chrome browser as you edit the code in
Brackets.
My students use Brackets for their html tasks, and I am also using it myself to
produce html-pages to be displayed in the browser
On 18/02/15 11:32, Graham Samuel wrote:
Folks, the muddle is mine. I am in the situation where I have a fairly
elaborately formatted field (say ‘myFormattedText) - coloured text, different
fonts, styles and sizes. This text is static in my standalone, but I have often
needed to change it durin
Folks, the muddle is mine. I am in the situation where I have a fairly
elaborately formatted field (say ‘myFormattedText) - coloured text, different
fonts, styles and sizes. This text is static in my standalone, but I have often
needed to change it during development. I have not found a simple w
54 matches
Mail list logo