Re: accessing colorized script

2012-03-22 Thread Mark Wieder
Peter- Thursday, March 22, 2012, 6:48:15 PM, you wrote: > Works like a charm! Fantastic!!! I am in awe!!! How did you discover this? Can't claim much ingenuity involved. Just poking about in the script editor stack and then just trial and (lots of) error. I was really hoping I could get it down

Re: accessing colorized script

2012-03-22 Thread Peter M. Brigham, MD
On Mar 22, 2012, at 5:21 PM, Mark Wieder wrote: > Peter M. Brigham, MD writes: > Yes. When I use "-1" instead of the lengthier form, it won't compile, and > the long form compiles but doesn't >> do anything when I execute it. No error, no action. MacBook, OSX 10.6.8, Rev > Studio 4.5.3, bui

Re: accessing colorized script

2012-03-22 Thread Mark Wieder
Peter M. Brigham, MD writes: > >> Yes. When I use "-1" instead of the lengthier form, it won't compile, and the long form compiles but doesn't > do anything when I execute it. No error, no action. MacBook, OSX 10.6.8, Rev Studio 4.5.3, build 1210, > operating on an ordinary text field. I was so h

Re: accessing colorized script

2012-03-21 Thread Peter M. Brigham, MD
On Mar 20, 2012, at 4:51 PM, Mark Wieder wrote: > Jacque- > > Tuesday, March 20, 2012, 1:44:08 PM, you wrote: > >> On 3/20/12 3:30 PM, Mark Wieder wrote: >>> Jacque- >>> >>> Tuesday, March 20, 2012, 1:20:51 PM, you wrote: >>> > _internal script colorize line 1 to (the number of lines of fi

Re: accessing colorized script

2012-03-21 Thread Pete
The new 5.5 release has lots of stuff related to field formatting. Maybe some of that might help, especially if RunRev used the new features to colorise scripts. Pete On Wed, Mar 21, 2012 at 9:22 AM, Mark Schonewille < m.schonewi...@economy-x-talk.com> wrote: > Hi Peter, > > Perhaps you could us

Re: accessing colorized script

2012-03-21 Thread Mark Schonewille
Hi Peter, Perhaps you could use MetaCard's script colorising routines. http://qery.us/1w9 -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Ma

Re: accessing colorized script

2012-03-21 Thread Peter M. Brigham, MD
On Mar 20, 2012, at 11:46 AM, J. Landman Gay wrote: > On 3/20/12 9:30 AM, Peter M. Brigham, MD wrote: >> Anyone know how I can get the colorized htmltext of a script from the >> script editor without opening the editor and copying the text? > > I don't think you can any more, the colorization is

Re: accessing colorized script

2012-03-20 Thread stephen barncard
I've done it but the IDE has to be involved... sqb Stephen Barncard San Francisco Ca. USA more about sqb ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsub

Re: accessing colorized script

2012-03-20 Thread Bob Sneidar
That will invert the colors of the previous lines to their polar opposites. But only if they have a trailing CR. ;-) Bob > You mean like, "line 2 to -1 of" ...oh never mind. > > -- > Jacqueline Landman Gay | jac...@hyperactivesw.com > HyperActive Software | http://ww

Re: accessing colorized script

2012-03-20 Thread Mark Wieder
Jacque- Tuesday, March 20, 2012, 1:44:08 PM, you wrote: > On 3/20/12 3:30 PM, Mark Wieder wrote: >> Jacque- >> >> Tuesday, March 20, 2012, 1:20:51 PM, you wrote: >> _internal script colorize line 1 to (the number of lines of field 1) of field 1 >> >>> Ooooh! >> >> You can also use char

Re: accessing colorized script

2012-03-20 Thread J. Landman Gay
On 3/20/12 3:30 PM, Mark Wieder wrote: Jacque- Tuesday, March 20, 2012, 1:20:51 PM, you wrote: _internal script colorize line 1 to (the number of lines of field 1) of field 1 Ooooh! You can also use chars instead of lines. You mean like, "line 2 to -1 of" ...oh never mind. -- Jacqueli

Re: accessing colorized script

2012-03-20 Thread Mark Wieder
Jacque- Tuesday, March 20, 2012, 1:20:51 PM, you wrote: >> _internal script colorize line 1 to (the number of lines of field 1) of >> field 1 > Ooooh! You can also use chars instead of lines. -- -Mark Wieder mwie...@ahsoftware.net ___ use-liveco

Re: accessing colorized script

2012-03-20 Thread J. Landman Gay
On 3/20/12 2:24 PM, Mark Wieder wrote: Peter M. Brigham, MD writes: I'm looking for something like a revColorizeScript handler _internal script colorize line 1 to (the number of lines of field 1) of field 1 Ooooh! -- Jacqueline Landman Gay | jac...@hyperactivesw.com Hyper

Re: accessing colorized script

2012-03-20 Thread Mark Wieder
Alex Tweedly writes: > > Could you use the one from GLX ? >(I don't know how stand alone it is, or how hard it might be to > extract from its context). > It's pretty involved and takes a lot of setup. And the colorization scheme isn't the same as the IDE. The code is all there in the ope

Re: accessing colorized script

2012-03-20 Thread Mark Wieder
Peter M. Brigham, MD writes: > I'm looking for something like a revColorizeScript handler _internal script colorize line 1 to (the number of lines of field 1) of field 1 -- Mark Wieder ___ use-livecode mailing list use-livecode@lists.runrev.co

Re: accessing colorized script

2012-03-20 Thread Alex Tweedly
Could you use the one from GLX ? (I don't know how stand alone it is, or how hard it might be to extract from its context). -- Alex. On 20/03/2012 15:46, J. Landman Gay wrote: On 3/20/12 9:30 AM, Peter M. Brigham, MD wrote: Anyone know how I can get the colorized htmltext of a script from

Re: accessing colorized script

2012-03-20 Thread Bob Sneidar
Confounded new fangled engines! You can't work on 'em these days! Bob On Mar 20, 2012, at 8:46 AM, J. Landman Gay wrote: > On 3/20/12 9:30 AM, Peter M. Brigham, MD wrote: >> Anyone know how I can get the colorized htmltext of a script from the >> script editor without opening the editor and cop

Re: accessing colorized script

2012-03-20 Thread J. Landman Gay
On 3/20/12 9:30 AM, Peter M. Brigham, MD wrote: Anyone know how I can get the colorized htmltext of a script from the script editor without opening the editor and copying the text? I don't think you can any more, the colorization is done by the engine. There used to be a script for it in older

accessing colorized script

2012-03-20 Thread Peter M. Brigham, MD
Anyone know how I can get the colorized htmltext of a script from the script editor without opening the editor and copying the text? I have a handler that puts a section of a stack script into a field -- pretty straightforward to just extract the relevant plain text from the script. But it would