[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/kate/syntax/data
From: Sebastian Pipping <webmaster () hartwork ! org>
Date: 2010-07-19 15:10:26
Message-ID: 20100719151026.26B92AC7AB () svn ! kde ! org
[Download RAW message or body]
SVN commit 1151786 by sping:
Improve JSON highlighter:
- Fix highlighting of nesting of arrays (reported by Romain Lalaut)
- Fix highlighting of an array at root level (reported by Romain Lalaut)
- Fix highlighting of whitespace at the start of the document
- Update my e-mail address
- Bump version number from 1.00 to 1.2
- Fix a few tab/spaces mis-indents at XML level
M +5 -1 json.xml
--- trunk/KDE/kdelibs/kate/syntax/data/json.xml #1151785:1151786
@@ -12,7 +12,7 @@
** http://tools.ietf.org/html/rfc4627
***************************************************************************
-->
-<language name="JSON" section="Markup" version="1.00" kateversion="2.3" \
extensions="*.json" mimetype="application/json" author="Sebastian Pipping \
(webmaster@hartwork.org)" license="GPL"> +<language name="JSON" section="Markup" \
version="1.2" kateversion="2.3" extensions="*.json" mimetype="application/json" \
author="Sebastian Pipping (sebastian@pipping.org)" license="GPL"> <highlighting>
<list name="Constants">
<item>null</item>
@@ -23,6 +23,9 @@
<contexts>
<context name="Normal" lineEndContext="#stay" attribute="Style_Error">
<DetectChar char="{" context="Pair" beginRegion="Region_Object" \
attribute="Style_Seperator_Pair" /> + <DetectChar char="[" \
context="Array" beginRegion="Region_Array" attribute="Style_Seperator_Array" /> +
+ <DetectSpaces context="#stay" attribute="Style_Normal" />
</context>
<context name="Pair" lineEndContext="#stay" attribute="Style_Error">
@@ -64,6 +67,7 @@
<DetectChar char="]" context="#pop" endRegion="Region_Array" \
attribute="Style_Seperator_Array" />
<DetectChar char="{" context="Pair" beginRegion="Region_Object" \
attribute="Style_Seperator_Pair" /> + <DetectChar char="[" \
context="Array" beginRegion="Region_Array" \
attribute="Style_Seperator_Array" />
<DetectChar char=""" context="String_Value" \
attribute="Style_String_Value" />
<DetectSpaces context="#stay" attribute="Style_Normal" />
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic