-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathText.syn
More file actions
42 lines (36 loc) · 1.64 KB
/
Copy pathText.syn
File metadata and controls
42 lines (36 loc) · 1.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?xml version="1.0" encoding="utf-8" ?>
<Language Name="Text file" Startblock="Text">
<FileTypes>
<FileType Extension=".txt" Name="Text file"/>
</FileTypes>
<Block Name="Text" Style="Text" PatternStyle="CS Keyword" EscapeChar="" IsMultiline="true">
<!-- Keywords that can exist inside this block -->
<Keywords>
<PatternGroup Name="Keywords" Style="CS Keyword">
</PatternGroup>
</Keywords>
<!-- Operators that can exist inside this block -->
<Operators>
<PatternGroup name="URL" Style="CS URL">
<Pattern Text="http://([\w-]+\.)+[\w-]+(/[\w- ./?%&=]*)?" IsComplex="true" />
</PatternGroup>
</Operators>
<!-- Blocks that can exist inside this block -->
<ChildBlocks>
<Child Name="CS String" />
</ChildBlocks>
</Block>
<Block Name="CS String" Style="CS String" PatternStyle="" EscapeChar="\" IsMultiline="false">
<Scope Start=""" End=""" Style="CS String" Text="" />
<Operators>
<PatternGroup name="URL" Style="CS URL">
<Pattern Text="http://([\w-]+\.)+[\w-]+(/[\w- ./?%&=]*)?" IsComplex="true" />
</PatternGroup>
</Operators>
</Block>
<Style Name="Text" ForeColor="" BackColor="" Bold="false" Italic="false" Underline="false" />
<Style Name="CS String" ForeColor="Black" BackColor="" Bold="True" Italic="True" Underline="false" />
<Style Name="CS Operator" ForeColor="Red" BackColor="" Bold="false" Italic="false" Underline="false" />
<Style Name="CS Keyword" ForeColor="Blue" BackColor="" Bold="true" Italic="false" Underline="false" />
<Style Name="CS URL" ForeColor="Blue" BackColor="" Bold="false" Italic="false" Underline="true" />
</Language>