ColorizeScript challenge

J. Landman Gay jacque at hyperactivesw.com
Wed Apr 26 14:06:44 CDT 2006


Dave Cragg wrote:
> 
> On 26 Apr 2006, at 15:03, Geoff Canyon wrote:
> 
>>
>> On Apr 26, 2006, at 4:34 AM, Dave Cragg wrote:
>>
>>> In a bid to steal Geoff's beer, I took a look at using the htmlText 
>>> to do this. It's certainly much faster. (A first attempt below.)
>>
>> Well, I'll see your colorization and raise you a justification.
> 
> I think I'll have to fold.
> 
> I see a problem with using htmlText. Say a script contains html entities 
> such as ">", for example in a script that builds some html strings. 
> Under my script, these would get converted to the actual character in 
> the colorized script.
> 
> Some more thinking to do.
>

I played with this for about an hour last night. I was using the same 
technique, converting the script to htmltext using the replace command. 
I had it mostly working but got stuck on exactly the issue you mention. 
So let's let Geoff do it. :)

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com


More information about the metacard mailing list