List Info

Thread: Syntax highlighing for the OneForm editor




Syntax highlighing for the OneForm editor
country flaguser name
Switzerland
2007-11-23 10:03:19
Hi Lenya devs,

I recently noticed that there are various JavaScript-based
syntax 
hightlighting tools around. Here's a screenshot how
CodePress 
(http://codepress.org,
LGPL) looks with the OneForm editor. 
Unfortunately CodePress has no explicit XML support, but
apparently HTML 
works fine for the XHTML resource type.

The Google syntaxhighlighter 
(http://co
de.google.com/p/syntaxhighlighter/) has support for XML
and 
XSLT (maybe we could even make our XSLTs conveniently
editable in the 
browser).

-- Andreas



-- 
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
For additional commands, e-mail: dev-helplenya.apache.org
View Original Image
Re: Syntax highlighing for the OneForm editor
user name
2007-11-28 12:46:24
Andreas Hartmann wrote:
> Hi Lenya devs,
> 
> I recently noticed that there are various
JavaScript-based syntax 
> hightlighting tools around. Here's a screenshot how
CodePress 
> (http://codepress.org, LGPL)
looks with the OneForm editor. 
> Unfortunately CodePress has no explicit XML support,
but apparently HTML 
> works fine for the XHTML resource type.
> 
> The Google syntaxhighlighter 
> (http://co
de.google.com/p/syntaxhighlighter/) has support for XML
and 
> XSLT (maybe we could even make our XSLTs conveniently
editable in the 
> browser).

interesting, but certainly post 2.0...
i'd like to have all our css and the fundamental xslts in
the 
repository, so that the admin can change them online without
having to 
re-deploy. then such a highlighting editor (which also does
proper 
indenting etc. would be a huge usability gain.
(ultimately, everything except $MYPUB/config could go into
the repo one 
day...)

-- 
Jörn Nettingsmeier

"One of my most productive days was throwing away 1000
lines of code."
   - Ken Thompson.

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
For additional commands, e-mail: dev-helplenya.apache.org


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )