forked from richardsuematsu/sublime-text-2-mapserver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
MapServer.tmLanguage
executable file
·83 lines (83 loc) · 3.25 KB
/
MapServer.tmLanguage
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>fileTypes</key>
<array>
<string>map</string>
</array>
<key>name</key>
<string>MapServer</string>
<key>patterns</key>
<array>
<dict>
<key>match</key>
<string>\b(MAP|WEB|END|METADATA|LEGEND|LABEL|SYMBOL|STYLE|POINTS|LAYER|CLASS|PROJECTION|OUTPUTFORMAT|QUERYMAP|REFERENCE|SCALEBAR)\b</string>
<key>name</key>
<string>entity.name.function.mapserver</string>
</dict>
<dict>
<key>match</key>
<string>\b(STATUS|MINSCALEDENOM|MINSCALE|MAXSCALEDENOM|MAXSCALE|KEYSIZE|KEYSPACING|SHADOWSIZE|MIMETYPE|DRIVER|EXTENSION|IMAGEMODE|FORMATOPTION|SYMBOLSET|LOG|NAME|SHAPEPATH|EXTENT|UNITS|IMAGETYPE|FONTSET|CONFIG|LOG|IMAGEURL|TRANSPARENT|TYPE|FONT|SIZE|LINEJOINMAXSIZE|LINEJOIN|FILLED|CHARACTER|ANTIALIAS|PROCESSING|DATA|DUMP|TEMPLATE|OPACITY|COLOR|OUTLINECOLOR|POSITION|ANGLE|LABELITEM|LABELMAXSCALE|BACKGROUNDCOLOR|FILTER|OFFSET|PRIORITY|MINSIZE|WIDTH|EXPRESSION|TEXT|BUFFER|FORCE|PARTIALS|DEBUG)\b</string>
<key>name</key>
<string>keyword.source.syntax_name</string>
</dict>
<dict>
<key>match</key>
<string>\b([0-9]*)</string>
<key>name</key>
<string>constant.numeric.mapserver</string>
</dict>
<dict>
<key>match</key>
<string>(#).*$
?</string>
<key>name</key>
<string>comment.line.number-sign.mapserver</string>
</dict>
<dict>
<key>match</key>
<string>(wms_title|wms_onlineresource|wms_srs|wms_extent|wfs_title|wfs_onlineresource|wfs_srs|gml_featureid|gml_include_items)</string>
<key>name</key>
<string>support.function.mapserver</string>
</dict>
<dict>
<key>begin</key>
<string>"</string>
<key>end</key>
<string>"</string>
<key>name</key>
<string>variable.complex.mapserver</string>
<key>patterns</key>
<array>
<dict>
<key>include</key>
<string>$self</string>
</dict>
<dict>
<key>match</key>
<string>(wms_title|wms_onlineresource|wms_srs|wms_extent|wfs_title|wfs_onlineresource|wfs_srs)</string>
<key>name</key>
<string>support.function.mapserver</string>
</dict>
<dict>
<key>match</key>
<string>&#([0-9]*;)</string>
<key>name</key>
<string>constant.numeric.mapserver</string>
</dict>
<dict>
<key>match</key>
<string>.</string>
<key>name</key>
<string>string</string>
</dict>
</array>
</dict>
</array>
<key>scopeName</key>
<string>source.syntax_name</string>
<key>uuid</key>
<string>33b1e817-fad6-4f15-83dc-309e94888497</string>
</dict>
</plist>