patchGNU nano - Patches: patch #7410, Syntax hilight file for JSON-files

 
 

You are not allowed to post comments on this tracker with your current authentification level.

patch #7410: Syntax hilight file for JSON-files

Submitted by:  Aapo Rantalainen <aapo>
Submitted on:  Fri 10 Dec 2010 11:36:05 AM UTC  
 
Category: NonePriority: 5 - Normal
Status: DonePrivacy: Public
Assigned to: Benno Schulenberg <bens>Open/Closed: Closed
Release: None

Sat 17 May 2014 11:49:57 AM UTC, comment #1:

An edited version has gone into SVN, r4901. I've changed some colours to be legible both on light and dark backgrounds, improved the recognition of numbers, added some regexes for escapes, and reordered things so that numbers within strings will not get coloured as numbers, and special words within names not as special words.

Thanks! Any corrections or improvements are welcome.

Benno Schulenberg <bens>
Project MemberIn charge of this item.
Fri 10 Dec 2010 11:36:05 AM UTC, original submission:

http://www.json.org/

Color scheme is almost same than what Kate-editor uses.

Left is Kate, right is Nano:
http://cc.oulu.fi/~rantalai/json_hilight.png

Aapo Rantalainen <aapo>

 

Attached Files
file #22172:  json.nanorc added by aapo (1kB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bens (Posted a comment)
  • -unavailable- added by aapo (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 17 May 2014 11:49:57 AM UTCbensStatusNone=>Done
      Assigned toNone=>bens
      Open/ClosedOpen=>Closed
    Fri 10 Dec 2010 11:36:05 AM UTCaapoAttached File-=>Added json.nanorc, #22172

    Back to the top


    Powered by Savane 3.1-cleanup