Re: accessing colorized script

2012-03-22 Thread Mark Wieder
Peter M. Brigham, MD pmbrig@... 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

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-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 use

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

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

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 copying

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

Re: accessing colorized script

2012-03-20 Thread J. Landman Gay
On 3/20/12 2:24 PM, Mark Wieder wrote: Peter M. Brigham, MDpmbrig@... 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 |

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-livecode

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. --

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 chars instead of lines.

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 |