155 lines
7.0 KiB
XML
155 lines
7.0 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<ArrayOfConfigLanguage>
|
|
<ConfigLanguage name="JSON" StartComment="//" TriggersActivators=" ;.=()">
|
|
<formats>
|
|
<format name="Text" Font="Courier New, 10pt" FontColor="Black" />
|
|
<format name="Whitespace" Font="Courier New, 10pt" FontColor="Black" />
|
|
<format name="KeyWord" Font="Courier New, 10pt" FontColor="Black" />
|
|
<format name="ImageProcessor" Font="Courier New, 10pt" FontColor="Blue" UseCustomControl="true" />
|
|
<format name="String" Font="Courier New, 10pt, style=Bold" FontColor="Red" BorderColor="Black" />
|
|
<format name="Number" Font="Courier New, 10pt, style=Bold" FontColor="Navy" />
|
|
<format name="Error" Font="Courier New, 10pt" FontColor="Black" underline="Wave" LineColor="Red" />
|
|
<format name="Operator" Font="Courier New, 10pt" FontColor="DarkCyan" />
|
|
<format name="Comment" Font="Courier New, 10pt, style=Bold" FontColor="Green" />
|
|
<format name="PreprocessorKeyword" Font="Courier New, 10pt" FontColor="Gray" />
|
|
<format name="SelectedText" Font="Courier New, 10pt" BackColor="Highlight" FontColor="HighlightText" />
|
|
<format name="CommentXML" Font="Courier New, 10pt, style=Bold" FontColor="Gray" />
|
|
<format name="CollapsedText" Font="Courier New, 10pt" FontColor="Black" BorderColor="Gray"
|
|
BorderStyle="Solid" />
|
|
</formats>
|
|
<extensions>
|
|
<extension>json</extension>
|
|
</extensions>
|
|
<lexems>
|
|
<lexem BeginBlock=";" Type="Operator" />
|
|
<lexem BeginBlock=":" Type="Operator" />
|
|
<lexem BeginBlock="." Type="Operator" DropContextChoiceList="true" />
|
|
<lexem BeginBlock="," Type="Operator" />
|
|
<lexem BeginBlock="*/" Type="Error" Priority="-10" />
|
|
<lexem BeginBlock="/*" EndBlock="*/" Type="Comment" OnlyLocalSublexems="true" IsComplex="true"
|
|
IsCollapsable="true" CollapseName="/*...*/" AllowTriggers="false">
|
|
<SubLexems>
|
|
<lexem BeginBlock="/*" Type="Comment" />
|
|
<lexem BeginBlock="\n" IsBeginRegex="true" />
|
|
</SubLexems>
|
|
</lexem>
|
|
<lexem BeginBlock=")" Type="Error" Priority="-10" />
|
|
<lexem BeginBlock="(" EndBlock=")" Type="Operator" IsComplex="true" IsCollapsable="false"
|
|
CollapseName="(...)">
|
|
<SubLexems>
|
|
<lexem BeginBlock="\n" IsBeginRegex="true" />
|
|
</SubLexems>
|
|
</lexem>
|
|
<lexem BeginBlock=""" EndBlock="(")|(@")" Type="String" IsEndRegex="true"
|
|
IsComplex="true" OnlyLocalSublexems="true" IndentationGuideline="true">
|
|
<SubLexems>
|
|
<lexem BeginBlock="\" EndBlock=""" Type="String" />
|
|
</SubLexems>
|
|
</lexem>
|
|
<lexem BeginBlock="'" EndBlock="'" Type="String" IsComplex="true" OnlyLocalSublexems="true">
|
|
<SubLexems>
|
|
<lexem BeginBlock="\" EndBlock=".+" IsEndRegex="true" Priority="2" Type="String" />
|
|
</SubLexems>
|
|
</lexem>
|
|
<lexem BeginBlock="@"" EndBlock="(")|(@")" Type="String" IsEndRegex="true"
|
|
OnlyLocalSublexems="true" IsComplex="true">
|
|
<SubLexems>
|
|
<lexem BeginBlock="\n" IsBeginRegex="true" />
|
|
<lexem BeginBlock=""" EndBlock=""" Type="String" />
|
|
</SubLexems>
|
|
</lexem>
|
|
<lexem BeginBlock="[" EndBlock="]" Type="Operator" IsComplex="true" IsCollapsable="false"
|
|
CollapseName="[...]">
|
|
<SubLexems>
|
|
<lexem BeginBlock="\" EndBlock=""" Type="String" />
|
|
</SubLexems>
|
|
</lexem>
|
|
<lexem BeginBlock="//" EndBlock="\n" IsEndRegex="true" Type="Comment" IsComplex="true"
|
|
OnlyLocalSublexems="true" AllowTriggers="false" />
|
|
<lexem ID="1041" EndBlock="#endregion" Type="PreprocessorKeyword" IsComplex="true" IsCollapsable="true">
|
|
<SubLexems>
|
|
<lexem BeginBlock="\n" IsBeginRegex="true" />
|
|
</SubLexems>
|
|
</lexem>
|
|
<lexem BeginBlock="#endregion" Type="Error" Priority="-10" />
|
|
<lexem BeginBlock="#endif" Type="Error" Priority="-10" />
|
|
<lexem BeginBlock="#else" Type="Error" Priority="-10" />
|
|
<lexem ID="1044" EndBlock="#endif" Type="PreprocessorKeyword" IsComplex="true">
|
|
<SubLexems>
|
|
<lexem BeginBlock="#else" Type="PreprocessorKeyword" />
|
|
<lexem BeginBlock="\n" IsBeginRegex="true" />
|
|
</SubLexems>
|
|
</lexem>
|
|
<lexem BeginBlock="#region" EndBlock="\n" Type="PreprocessorKeyword" IsEndRegex="true"
|
|
OnlyLocalSublexems="true" IsComplex="true" IsCollapsable="true" AutoNameExpression="(#region)\s*(?<text>.*).*(?<!\n)\n"
|
|
AutoNameTemplate="${text}" IsCollapseAutoNamed="true" CollapseName="Unnamed Region"
|
|
NextID="1041" IndentationGuideline="true">
|
|
<SubLexems>
|
|
<lexem BeginBlock=".*(?<!\n)" IsBeginRegex="true" Type="Text" />
|
|
</SubLexems>
|
|
</lexem>
|
|
<lexem BeginBlock="#if" EndBlock="\n" Type="PreprocessorKeyword" IsEndRegex="true" OnlyLocalSublexems="true"
|
|
IsComplex="true" IsCollapsable="true" AutoNameExpression="(#if)\s*(?<text>.*).*(?<!\n)\n"
|
|
AutoNameTemplate="If ${text}" IsCollapseAutoNamed="true" CollapseName="Incorrect if-def"
|
|
NextID="1044">
|
|
<SubLexems>
|
|
<lexem BeginBlock=".*(?<!\n)" IsBeginRegex="true" Type="Text" />
|
|
</SubLexems>
|
|
</lexem>
|
|
<lexem BeginBlock="(\s(?<!\n))+" IsBeginRegex="true" Type="Whitespace" />
|
|
<lexem BeginBlock="///" EndBlock="\n" IsEndRegex="true" Type="Comment" OnlyLocalSublexems="true"
|
|
IsComplex="true" AllowTriggers="false">
|
|
<SubLexems>
|
|
<lexem BeginBlock="<" EndBlock=">" Type="Custom" FormatName="CommentXML" IsComplex="true"
|
|
OnlyLocalSublexems="true" IndentationGuideline="true" />
|
|
</SubLexems>
|
|
</lexem>
|
|
<lexem ID="1124" BeginBlock="[0-9]+" EndBlock=".*" IsPseudoEnd="true" IsEndRegex="true"
|
|
IsBeginRegex="true" Type="Number" IsComplex="true" OnlyLocalSublexems="true">
|
|
<SubLexems>
|
|
<lexem BeginBlock="x" EndBlock="[0-9a-fA-F]+" IsEndRegex="true" Type="Number" Priority="5" />
|
|
<lexem BeginBlock="." EndBlock="[0-9]+" IsEndRegex="true" Type="Number" Priority="5" />
|
|
</SubLexems>
|
|
</lexem>
|
|
<lexem BeginBlock="}" Type="Error" Priority="-10" />
|
|
<lexem ID="256" BeginBlock="{" EndBlock="}" Type="KeyWord" IsComplex="true" IsCollapsable="true"
|
|
Indent="true" CollapseName="{...}" IndentationGuideline="true" AutoFormatStartNewLine="true">
|
|
<SubLexems>
|
|
<lexem BeginBlock="\n" IsBeginRegex="true" />
|
|
</SubLexems>
|
|
</lexem>
|
|
</lexems>
|
|
<splits>
|
|
<split>@"</split>
|
|
<split><img</split>
|
|
<split>/></split>
|
|
<split>+=</split>
|
|
<split>/=</split>
|
|
<split>=/</split>
|
|
<split>*=</split>
|
|
<split>=*</split>
|
|
<split>==</split>
|
|
<split>!=</split>
|
|
<split>=+</split>
|
|
<split>-=</split>
|
|
<split>++</split>
|
|
<split>-=</split>
|
|
<split>=-</split>
|
|
<split>--</split>
|
|
<split>/*</split>
|
|
<split>*/</split>
|
|
<split>//</split>
|
|
<split>#if</split>
|
|
<split>#endif</split>
|
|
<split>#else</split>
|
|
<split>#region</split>
|
|
<split>#endregion</split>
|
|
<split>///</split>
|
|
</splits>
|
|
<AutoReplaceTriggers>
|
|
<AutoReplaceTrigger From="teh" To="the" />
|
|
<AutoReplaceTrigger From="itn" To="int" />
|
|
</AutoReplaceTriggers>
|
|
|
|
</ConfigLanguage>
|
|
</ArrayOfConfigLanguage> |