LiveCode 6.6.5 vs 6.7

2014-11-18 Thread René Micout
Hello everybody, I use LC 6.6.5 for my musical applications. Everything works fine. In contrast with LC 6.7 the same applications have slowdowns when intervening in real time during the course of the program (for example changes to the settings). Which may not be noticed visually, is totally

Re: LiveCode 6.6.5 vs 6.7

2014-11-18 Thread René Micout
Le 18 nov. 2014 à 10:23, René Micout rene.mic...@numericable.com a écrit : Hello everybody, I use LC 6.6.5 for my musical applications. Everything works fine. In contrast with LC 6.7 the same applications have slowdowns when intervening in real time during the course of the program (for

Re: LiveCode 6.6.5 vs 6.7

2014-11-18 Thread Sean Cole (Pi)
Hi René, Which version of LC6.7 are you using? It sounds like you have one of the Release Candidates which had an issue with it's About page. What platform are you using LC on, Mac, Linux or Windows? I've just checked it on my Mac and 6.7 here shows the correct About Page for it. All the best

Re: LiveCode 6.6.5 vs 6.7

2014-11-18 Thread Malte Brill
Bonjour Renè, may I interest you in the benchmarking projekt which happens over here: http://forums.livecode.com/phpBB2/viewtopic.php?f=67t=22072 It seems that tests on the things that slowed down for you might be very useful. All the best, Malte

Re: LiveCode 6.6.5 vs 6.7

2014-11-18 Thread Martin Koob
One of the changes is that if you have multiple changes to the appearance of objects that require redraws on the card there will be slowdowns. If you lock the screen before those changes it will eliminate a good part of the slowdowns. Martin Koob -- View this message in context:

Re: Find the scroll location in wrapped field

2014-11-18 Thread dunbarx
James. The field will scroll to the desired line, but if the textSizes of those lines are variable, the scroll will not come out right. The discussion here and on the forum is how to make that happen. So far, no solution. The OP wanted to find text, and this is straightforward, in that the

Re: LiveCode 6.6.5 vs 6.7

2014-11-18 Thread René Micout
Thank you Sean, Malte and Martin, But my changes are done in real time during the running process (the music is playing and, by example, I click on a slider to modify volume… When I use the slider the music slow down). But I have no insert “Lock screen” yet… and I don’t know if the problem will

Re: Find the scroll location in wrapped field

2014-11-18 Thread Richard Gaskin
dunbarx wrote: James Hale wrote: So if you have the linenumber of the line contains the text you wish to see at the top of the field then... select line -1 of field TextToScroll select line linenumber of field TextToScroll And line linenumber will now be at the top of the field.

Re: BBEdit Language Module for LiveCode

2014-11-18 Thread Devin Asay
On Nov 17, 2014, at 7:15 PM, Kay C Lan lan.kc.macm...@gmail.com wrote: Hi Ben, Yes it is fortuitous that the Livescript language has similarities to LiveCode. Who knows, maybe you innocent blunder and polite retreat may cause a few Livescripters to find out what the heck LiveCode is... and

Re: Find the scroll location in wrapped field

2014-11-18 Thread Eric Corbett
I knew you could select the line number, but I did not know starting at the end would provide the best results. This will be helpful, thanks. One method I have used in the past is to put the htmlText of the field into a variable, then put line 1 to (the line to scroll to) into the field (or

Re: Find the scroll location in wrapped field

2014-11-18 Thread Michael Doub
Richard, I don't think the solution works because of a bug in livecode where spacebefore and spaceafter are not taken into account. This is the problem: put the formattedHeight of line 1 to tLOS of fld 1 into tScroll I just posted my solution in the forums and I had to manually add them in.

Re: Find the scroll location in wrapped field

2014-11-18 Thread Richard Gaskin
Michael Doub wrote: I don't think the solution works because of a bug in livecode where spacebefore and spaceafter are not taken into account. Thanks - I wasn't aware of that bug, but was able to find it: http://quality.runrev.com/show_bug.cgi?id=11688 Hopefully it'll get addressed for 6.7.1

Menu question

2014-11-18 Thread Graham Samuel
This is a naive question. I really don’t see what I’m doing wrong. I am trying to create a very simple stack in order to demonstrate a bug which is something to do with using Unicode characters in menu items. So I’ve created the simplest possible stack - one stack, one card, using LC 7.0.1 rc2

Re: LC Server on DreamHost?

2014-11-18 Thread Richard Gaskin
stephen barncard wrote: With all due respect - the problem here is getting livecode and php to execute together in the same domain space (where we might want some Wordpress pages AND livecode. This is my problem as well. Thanks. Somehow I missed the reference to PHP requirements in Scott's

Re: Find Scroll position of a chunk within a line that is wrapped

2014-11-18 Thread Scott Rossi
If I understand what you¹re asking, I believe you can use the formattedRect for this. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 11/18/14, 10:23 AM, Michael Doub miked...@gmail.com wrote: A related question to positioning a line within a field, is positioning a

Re: Find the scroll location in wrapped field

2014-11-18 Thread dunbarx
Richard. I tried a bunch of stuff like that; your thinking seems sound. I thought mine did as well. Sometimes it sets a line properly, and sometimes, especially with small textSize lines near large ones, not at all. In fact, several lines away. I have a field with widely varied textSizes

Help! Debugger went silent!

2014-11-18 Thread William Prothero
Folks: I’m on OSX 10.9.5, LC V7.0. The debugger has stopped responding to breakpoints! Is there some way I could have disabled it? Or is my stack corrupted possibly? I can’t find any way to restore it and it won’t recognize breakpoints on older projects, or when I switch versions of livecode,

Running Apache Under Yosemite

2014-11-18 Thread Gregory Lypny
Hello everyone, I have been happily running LiveCode server under Mavericks and am soon going to upgrade to Yosemite. Can I continue to use the same modified httpd.conf file that worked under Mavericks? Regards, Gregory ___ use-livecode mailing list

Re: Help! Debugger went silent!

2014-11-18 Thread Dr. Hawkins
On Tue, Nov 18, 2014 at 11:11 AM, William Prothero proth...@earthednet.org wrote: I’m on OSX 10.9.5, LC V7.0. The debugger has stopped responding to breakpoints! Is there some way I could have disabled it? Or is my stack corrupted possibly? I can’t find any way to restore it and it won’t

Re: Help! Debugger went silent!

2014-11-18 Thread Dr. Hawkins
On Tue, Nov 18, 2014 at 11:34 AM, Dr. Hawkins doch...@gmail.com wrote: Clear all of your breakpoints, quit livecode, restart. And by that I don't mean individually, but with clear all breakpoints -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___

Re: Find the scroll location in wrapped field

2014-11-18 Thread J. Landman Gay
On 11/18/2014, 1:08 PM, dunb...@aol.com wrote: I tried a bunch of stuff like that; your thinking seems sound. I thought mine did as well. Sometimes it sets a line properly, and sometimes, especially with small textSize lines near large ones, not at all. In fact, several lines away. I am

Re: Find Scroll position of a chunk within a line that is wrapped

2014-11-18 Thread Michael Doub
I think that you are correct! That was the lead that I was missing. Thanks! Mike On 11/18/14 2:04 PM, Scott Rossi wrote: If I understand what you¹re asking, I believe you can use the formattedRect for this. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On

Re: Running Apache Under Yosemite

2014-11-18 Thread Richard Gaskin
Gregory Lypny wrote: I have been happily running LiveCode server under Mavericks and am soon going to upgrade to Yosemite. Can I continue to use the same modified httpd.conf file that worked under Mavericks? According to this blog the upgrade should allow you to use your old config, but it

Re: Help! Debugger went silent!

2014-11-18 Thread William Prothero
Dr. Thanks. I tried that. I tried a previously backed up version with v7.0, did Disk Warrior on my hard drive, tried V7.0 (Rc2) and it didn’t respond. The only thing that did respond was going back to v6.7, V6.7 opens the project, runs it ok, but if I try to save it, it crashes LC. If I save it

Re: Help! Debugger went silent!

2014-11-18 Thread William Prothero
I tried a new stack with LCV7.0 and the debugger has definitely stopped working. I replaced the myLiveCode folder (with the plugins, etc) and it still doesn’t respond to breakpoints. Any other suggestions? Bill On Nov 18, 2014, at 12:07 PM, William Prothero proth...@earthednet.org wrote: Dr.

Re: Help! Debugger went silent!

2014-11-18 Thread William Prothero
Folks: Ok, never mind. It started working again. I have no idea what the critical step was. Basically, it wouldn’t go into script debug mode under the developer menu. A mystery, but now back to work. Bill On Nov 18, 2014, at 12:15 PM, William Prothero proth...@earthednet.org wrote: I tried a

Re: Find Scroll position of a chunk within a line that is wrapped

2014-11-18 Thread Michael Doub
My wishful thinking hearing about a new lead got me over excited. I still have not found a way to make it work without looking at every character and simulating the word wrap myself... yuck! Consider we have the following in a field 1 and pretend the line breaks you see are really the soft

Re: Help! Debugger went silent!

2014-11-18 Thread J. Landman Gay
On 11/18/2014, 2:53 PM, William Prothero wrote: Ok, never mind. It started working again. I have no idea what the critical step was. Basically, it wouldn’t go into script debug mode under the developer menu. A mystery, but now back to work. I wish we could figure out why that happens. If we

Re: Find the scroll location in wrapped field

2014-11-18 Thread Michael Doub
Life is good when you have fixed line heights, dontwrap or listbehavior and you don't use spacebefore, spaceafter or imageSource As you might expect, I live in opposite world: with multiple fonts, text sixes, spacebefore, spaceafter, word wrap and imageSource. (I am trying to build a

Re: Help! Debugger went silent!

2014-11-18 Thread William Prothero
Jacqueline: Me, too. It’s weird. I tried different versions of LC. Versions older than 6.7 worked, but wouldn’t save the file, even tho I had saved it in legacy 5.5 format from V7.0. Then I moved the app files over to another computer, tried it on the community version of LC 7.0 and all was

Re: Find the scroll location in wrapped field

2014-11-18 Thread dunbarx
Jacque. Neither do I. Not sure anymore which handlers I have tried and which not. And your methodology is so compact and elegant. Craig on doScroll pNum put the formattedheight of line 1 to pNum of fld 1 into tScroll set the scroll of fld 1 to tScroll set the hilitedline of

Whats the proper way to show a help field?

2014-11-18 Thread William Prothero
Folks: I have a help field that I want to pop up and follow the mouse when it’s within a specific rect. What I’m doing is showing the x,y values in a data plot region. So, I do something like: on mouseEnter doTheDisplay end mouseEnter on doTheDisplay repeat while the mouseLoc is within

LiveCode server and library stacks

2014-11-18 Thread Ralph DiMola
I'm writing a web service. I'm trying to activate a library stack using this code:(line numbers are included just in email) 15:if there is a file (lib/DB_Library.livecode) then 16: start using stack (lib/DB_Library.livecode) 17:end if the code finds the stack file but it won't start I'm getting

Re: LiveCode server and library stacks

2014-11-18 Thread Richard Gaskin
Ralph DiMola wrote: I'm writing a web service. I'm trying to activate a library stack using this code:(line numbers are included just in email) 15:if there is a file (lib/DB_Library.livecode) then 16: start using stack (lib/DB_Library.livecode) 17:end if the code finds the stack file but

Re: Find the scroll location in wrapped field

2014-11-18 Thread James Hale
Ahh, bug http://quality.runrev.com/show_bug.cgi?id=11688 I thought this had been fixed! I also seem to remember a longer discussion and an earlier bug report but perhaps I am mistaken. The discussion may have been on the forum. I rarely handle text that uses spacebefore and spaceafter and so

Re: Whats the proper way to show a help field?

2014-11-18 Thread Alejandro Tejada
Hi William, Still not well from Cold, but here is a very simple method: Create a small field named cursorpos Create an opaque rectangle graphic and put this script in the graphic: on mousemove x,y set the layer of fld cursorpos to the layer of me + 1 put x,y into fld cursorpos set the

Re: Running Apache Under Yosemite

2014-11-18 Thread Gregory Lypny
Much obliged, Richard. Gregory On Tue, Nov 18, 2014, at 4:01 PM, use-livecode-requ...@lists.runrev.com wrote: Gregory Lypny wrote: I have been happily running LiveCode server under Mavericks and am soon going to upgrade to Yosemite. Can I continue to use the same modified

Re: [OT] Looking for proven and useful Cold remedies

2014-11-18 Thread Alejandro Tejada
Hi All, Many Thanks for your recipes! I will collect the ingredients and test them, except those that require alcohol... Diabetes and Alcohol really does not match. :-) Have a nice week! Al ___ use-livecode mailing list use-livecode@lists.runrev.com

Stripping Returns

2014-11-18 Thread JB
A field has a limit on the amount of characters you can have on each line. What if I put the text of a field in a variable and it has 500,000 characters. Then I strip all of the returns that are in the field. Does that leave only one line with 500,000 characters? That exceeds the amount of

Re: Whats the proper way to show a help field?

2014-11-18 Thread Earthednet-wp
Al, Ahah! Didn't know there was a mouse move message. Thanks! Bill On Nov 18, 2014, at 5:58 PM, Alejandro Tejada capellan2...@gmail.com wrote: Hi William, Still not well from Cold, but here is a very simple method: Create a small field named cursorpos Create an opaque rectangle

Re: Running Apache Under Yosemite

2014-11-18 Thread Peter W A Wood
Hello Gregory I had to modify my httpd.conf file when I moved from Mavericks to Yosemite because, if I remember correctly, Apple upgraded Apache from version 2.2 to 2.4. The httpd syntax is a little different in the newer Apache. These are the LiveCode Server entries from my Yosemite

Re: Whats the proper way to show a help field?

2014-11-18 Thread dunbarx
Have you ever used a toolTip? They follow like a loyal dog. Craig Newman -Original Message- From: William Prothero proth...@earthednet.org To: Use-livecode Use-livecode use-livecode@lists.runrev.com Sent: Tue, Nov 18, 2014 6:01 pm Subject: Whats the proper way to show a help field?

Re: Stripping Returns

2014-11-18 Thread dunbarx
Hi. Did you try this? Simple to do in a little test card. The chars beyond 65535 will be lost. Do you see what the likely answer to your second question is? Note that reading from a file does not anticipate what you will do with the data. Variables have no limits, within memory, of course,

Re: Find the scroll location in wrapped field

2014-11-18 Thread dunbarx
All; Are we referring to spaceAbove and spaceBelow? Craig Newman -Original Message- From: James Hale ja...@thehales.id.au To: use-livecode use-livecode@lists.runrev.com Sent: Tue, Nov 18, 2014 8:39 pm Subject: Re: Find the scroll location in wrapped field Ahh, bug

Re: Whats the proper way to show a help field?

2014-11-18 Thread Earthednet-wp
Yeah, I use the tool tips a lot. But the field I need displays the x,y values under a data plot, as the user moves the mouse within the plot axes boundary. . In that way, the user gets a convenient way of getting values from a data plot. Bill William Prothero http://es.earthednet.org On Nov

RE: LiveCode server and library stacks

2014-11-18 Thread Ralph DiMola
You got me thinking... I was opening a password protected stack with the community server. Oops! Used the commercial server and all is well. Thanks! Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: use-livecode