[
https://issues.apache.org/jira/browse/COUCHDB-2472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14227977#comment-14227977
]
Ben Keen commented on COUCHDB-2472:
-----------------------------------
I personally like CodeMirror. It's what's used in Chrome, Firefox, Brackets and
loads of other apps. I actually contributed the Smarty syntax highlighter to
the project.
I haven't played with the latest version but I hear it's very performant, and
relatively small.
> New syntax highlighter for documents
> ------------------------------------
>
> Key: COUCHDB-2472
> URL: https://issues.apache.org/jira/browse/COUCHDB-2472
> Project: CouchDB
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: Fauxton
> Reporter: Robert Kowalski
> Assignee: Ben Keen
>
> We need a new Syntax highlighter for our document list - we can't use Ace
> editor as it is a big editor which would lead to performance trouble for a
> list of 100 documents.
> Requirements:
> - different colors for key/values in JSON (prettify is not capable of that)
> - different colors for strings in keys and integers
> - customizable colors via css
> It might be also possible to use Ace in a static mode:
> https://github.com/ajaxorg/ace/blob/master/demo/static-highlighter.html
> Happy Hacking!
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)