This repository has been archived by the owner on Dec 24, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 34
/
keywords.txt
129 lines (115 loc) · 2.72 KB
/
keywords.txt
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
#######################################
# Syntax Coloring Map For NeoNextion
#######################################
# Class
#######################################
Nextion KEYWORD1
NextionValue KEYWORD1
NextionFontAlignment KEYWORD1
NextionBackground KEYWORD1
NextionColour KEYWORD1
NextionEventType KEYWORD1
INextionWidget KEYWORD1
INextionColourable KEYWORD1
INextionFontStyleable KEYWORD1
INextionNumericalValued KEYWORD1
INextionStringValued KEYWORD1
INextionTouchable KEYWORD1
NextionButton KEYWORD1
NextionCrop KEYWORD1
NextionGauge KEYWORD1
NextionHotspot KEYWORD1
NextionNumber KEYWORD1
NextionPage KEYWORD1
NextionPicture KEYWORD1
NextionProgressBar KEYWORD1
NextionSlider KEYWORD1
NextionText KEYWORD1
NextionTimer KEYWORD1
NextionVariableNumeric KEYWORD1
NextionVariableString KEYWORD1
NextionWaveform KEYWORD1
NextionDualStateButton KEYWORD1
#######################################
# Methods and Functions
#######################################
# Nextion
init KEYWORD2
poll KEYWORD2
refresh KEYWORD2
sleep KEYWORD2
wake KEYWORD2
getBrightness KEYWORD2
setBrightness KEYWORD2
getCurrentPage KEYWORD2
clear KEYWORD2
drawPicture KEYWORD2
drawStr KEYWORD2
drawLine KEYWORD2
drawRect KEYWORD2
drawCircle KEYWORD2
# INextionColourable
setForegroundColour KEYWORD2
setEventForegroundColour KEYWORD2
setBackgroundColour KEYWORD2
setEventBackgroundColour KEYWORD2
getForegroundColour KEYWORD2
getEventForegroundColour KEYWORD2
getBackgroundColour KEYWORD2
getEventBackgroundColour KEYWORD2
# INextionFontStyleable
setFont KEYWORD2
getFont KEYWORD2
setHAlignment KEYWORD2
getHAlignment KEYWORD2
setVAlignment KEYWORD2
getVAlignment KEYWORD2
# INextionNumericalValued
getValue KEYWORD2
setValue KEYWORD2
# INextionStringValued
getText KEYWORD2
setText KEYWORD2
# INextionTouchable
attachPressEvent KEYWORD2
detachPressEvent KEYWORD2
attachReleaseEvent KEYWORD2
detachReleaseEvent KEYWORD2
# NextionCrop and NextionPicture
getPictureID KEYWORD2
setPictureID KEYWORD2
# NextionPage
show KEYWORD2
# NextionDualStateButton
isActive KEYWORD2
setActive KEYWORD2
# NextionWaveform
addValue KEYWORD2
setChannelColour KEYWORD2
getChannelColour KEYWORD2
setGridColour KEYWORD2
getGridColour KEYWORD2
setGridWidth KEYWORD2
getGridWidth KEYWORD2
setGridHeight KEYWORD2
getGridHeight KEYWORD2
#######################################
# Constants
#######################################
NEX_FA_NONE LITERAL1
NEX_FA_LEFT_UP LITERAL1
NEX_FA_CENTRE LITERAL1
NEX_FA_RIGHT_DOWN LITERAL1
NEX_BG_NONE LITERAL1
NEX_BG_CROPIMAGE LITERAL1
NEX_BG_SOLIDCOLOUR LITERAL1
NEW_BG_IMAGE LITERAL1
NEX_COL_NONE LITERAL1
NEX_COL_BLACK LITERAL1
NEX_COL_WHITE LITERAL1
NEX_COL_RED LITERAL1
NEX_COL_GREEN LITERAL1
NEX_COL_BLUE LITERAL1
NEX_COL_GRAY LITERAL1
NEX_COL_BROWN LITERAL1
NEX_COL_YELLOW LITERAL1