couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Kowalski (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (COUCHDB-2472) New syntax highlighter for documents
Date Fri, 21 Nov 2014 16:03:33 GMT

     [ https://issues.apache.org/jira/browse/COUCHDB-2472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Robert Kowalski updated COUCHDB-2472:
-------------------------------------
    Description: 
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!

  was:
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!


> 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
>
> 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)

Mime
View raw message