Add syntax highlighting to SLD editor page
------------------------------------------
Key: GEOS-1104
URL: http://jira.codehaus.org/browse/GEOS-1104
Project: GeoServer
Issue Type: Improvement
Components: Configuration
Affects Versions: 1.5.1
Reporter: Andrea Aime
Assignee: Andrea Aime
Fix For: 1.5.2
The SLD editor page has a plain editor now, but it would be nice to have syntax hightlight and line numbers.
EditArea can do that:
The EditArea code is big (100kb single javascript file) but it can be compressed with this tool: http://dean.edwards.name/packer/
to 50kb. Then we may need a servlet to perform gzip compression on the fly, without requiring us to depend on the
application server compression settings (compressible files are set in the server.xml file, in Tomcat, for example,
see http://weblogs.java.net/blog/ahashim/). That would be useful for serving openlayers too.
Once this is set up, test the thing with various browser, and see what happens if javascript is not enabled (try with a locked down IE, for example)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira