-
Notifications
You must be signed in to change notification settings - Fork 3
/
openhab-sitemap.syntax
61 lines (53 loc) · 2.27 KB
/
openhab-sitemap.syntax
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
# Syntax highlighting for sitemap files of openHAB in mcedit
# default colors
define color_comment brown
define color_model brightred
define color_nonlinkwidget brightred
define color_linkablewidget brightred
define color_string brightgreen
define color_parameter yellow
context default
# SitemapModel
keyword whole sitemap color_model
# NonLinkableWidget
keyword whole Switch color_nonlinkwidget
keyword whole Selection color_nonlinkwidget
keyword whole Slider color_nonlinkwidget
keyword whole List color_nonlinkwidget
keyword whole Setpoint color_nonlinkwidget
keyword whole Video color_nonlinkwidget
keyword whole Chart color_nonlinkwidget
keyword whole Webview color_nonlinkwidget
keyword whole Colorpicker color_nonlinkwidget
# LinkableWidget
keyword whole Default color_linkablewidget
keyword whole Text color_linkablewidget
keyword whole Group color_linkablewidget
keyword whole Image color_linkablewidget
keyword whole Frame color_linkablewidget
# Parameters
keyword whole name color_parameter
keyword whole item color_parameter
keyword whole label color_parameter
keyword whole icon color_parameter
keyword whole labelcolor color_parameter
keyword whole valuecolor color_parameter
keyword whole visibility color_parameter
keyword whole url color_parameter
keyword whole service color_parameter
keyword whole refresh color_parameter
keyword whole period color_parameter
keyword whole hight color_parameter
keyword whole mappings color_parameter
keyword whole sendFrequency color_parameter
keyword whole switchsupport color_parameter
keyword whole separator color_parameter
keyword whole minValue color_parameter
keyword whole maxValue color_parameter
keyword whole step color_parameter
# Comments
context /\* \*/ color_comment
context linestart // \n color_comment
# Strings
context " " color_string
context [ ] color_string