Real time syntax colorizer (web) for Smalltalk

Hernán Morales hernan.morales at gmail.com
Mon Nov 12 01:07:01 UTC 2007


Dominic, when I click your links I get "Error 500: Premature end of script
headers: syx".
I forgot to mention it was only tested under Firefox, I do not use IE but if
anyone could patch these incompatibilities I would be glad to include it in
the release.

Hernán

2007/11/11, Dominic Letz <dominic.letz at berlin.de>:
>
> Thats great,
>
> I just added the editor to my syx code browser:
> http://dominicletz.de/cgi-bin/syx?Bag&indexOf%3A Looks nice there
>
> But it seems like there is a bug in the smalltalk.js which makes the
> Internet Explorer 7 crying. I fixed this by commenting the following line:
>
> smalltalk.js line 10
> { input : /([^"\."\.a-zA-Z0-9_#])([A-Z]+[a-zA-Z0-9_]*)/g, output :
> '$1<u>$2</u>' }, // Class names
>
> So something in this line causes the IE7 to do strange things. Also it
> seems that the code highlighting is different on IE7 and Firefox. When you
> open this link with Firefox:
> http://dominicletz.de/cgi-bin/syx?Dispatcher&methodHref%3A you will see
> that the there starts a miss-highlighting through the lines 3 to 7. While
> on IE7 the miss-highlighting stops at the end of row 3.
>
> Best,
> -Dominic
>
>
> Am 10.11.2007, 18:52 Uhr, schrieb Hernán Morales
> <hernan.morales at gmail.com>:
>
> > Dear all, I don't know if this was aready done, but anyway:
> >
> > http://cs.hernanmorales.com.ar/codeEditor.php
> >
> > Cheers,
> >
> > Hernán
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20071111/a6d26a49/attachment.htm


More information about the Squeak-dev mailing list