mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
ADD: JSONC highlighter (issue #2898)
This commit is contained in:
parent
f5ed3acdfa
commit
7bcf801792
2 changed files with 25 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
<UniHighlighter version="1.8">
|
||||
<Info>
|
||||
<General Name="JSON" Extensions="json" Other="0"/>
|
||||
<General Name="JSON" Extensions="json,jsonc" Other="0"/>
|
||||
<Author Name="" Email="" Web="" Copyright="" Company="" Remark=""/>
|
||||
<Version Version="1" Revision="1" Date="45338,8541038426"/>
|
||||
<History>
|
||||
|
|
@ -40,6 +40,14 @@
|
|||
<Word Value=":"/>
|
||||
</Keywords>
|
||||
<Set Name="Numbers" Attributes="$00008000,$80000005;False:True." Style="" Symbols="0123456789"/>
|
||||
<Range Name="Remark //" Attributes="$00A00000,$80000005;False:True." Style="" CaseSensitive="True"
|
||||
Delimiters="!"#$%&'()*+,-./:;<=>?@[\]^`{|}~">
|
||||
<Rule OpenSymbol="//" CloseOnEol="True"/>
|
||||
</Range>
|
||||
<Range Name="Remark /*...*/" Attributes="$00A00000,$80000005;False:True." Style="" CaseSensitive="True"
|
||||
Delimiters="!"#$%&'()*+,-./:;<=>?@[\]^`{|}~">
|
||||
<Rule OpenSymbol="/*" CloseSymbol="*/"/>
|
||||
</Range>
|
||||
<Range Name="Strings ".."" Attributes="$00000080,$80000005;False:True." Style=""
|
||||
Delimiters="!"#$%&'()*+,-./:;<=>?@[\]^`{|}~">
|
||||
<Rule OpenSymbol=""" OpenSymbolPartOfTerm="Right" CloseSymbol=""" CloseSymbolPartOfTerm="Right" CloseOnEol="True"/>
|
||||
|
|
|
|||
|
|
@ -234,6 +234,14 @@
|
|||
}
|
||||
],
|
||||
Ranges : [
|
||||
{
|
||||
Name : "Remark //",
|
||||
Attributes : "$00A00000,$80000005;False:True."
|
||||
},
|
||||
{
|
||||
Name : "Remark /*...*/",
|
||||
Attributes : "$00A00000,$80000005;False:True."
|
||||
},
|
||||
{
|
||||
Name : "Strings \"..\"",
|
||||
Attributes : "$00000080,$80000005;False:True.",
|
||||
|
|
@ -826,6 +834,14 @@
|
|||
}
|
||||
],
|
||||
Ranges : [
|
||||
{
|
||||
Name : "Remark //",
|
||||
Attributes : "$00C09B61,$80000005;False:True."
|
||||
},
|
||||
{
|
||||
Name : "Remark /*...*/",
|
||||
Attributes : "$00C09B61,$80000005;False:True."
|
||||
},
|
||||
{
|
||||
Name : "Strings \"..\"",
|
||||
Attributes : "$00898BB9,$80000005;False:True.",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue