Mailing List Archive

OT: Mason aware javascipt editor
Hi,

this question is not a Bricolage specific question, but maybe someone here knows a solution:

Im looking for a javascript editor (like ckeditor) who knows about mason tags, ie, where I can place
an <%args> block etc in my code without confusing the editor .
Does anybody know if something like this exists or an editor that could be configured to understand this ?

Thanks

Rolf
Re: OT: Mason aware javascipt editor [ In reply to ]
Rolf Schaufelberger wrote:
> Hi,
>
> this question is not a Bricolage specific question, but maybe someone here knows a solution:
>
> Im looking for a javascript editor (like ckeditor) who knows about mason tags, ie, where I can place
> an <%args> block etc in my code without confusing the editor .
> Does anybody know if something like this exists or an editor that could be configured to understand this ?
>
> Thanks
>
> Rolf
>
>
>

Hi,
I believe ckeditor can be persuaded to leave php or js, and probably <%args>, too. It is
based on regexp parsing.
Xinha has PreserveScript plugin, that can handle PHP and JS. Not sure about Mason, though.

Regards, Zdravko