1# Define SciTE settings for extended crontab files used by a powerful
2# Windows scheduler/event monitor/automation manager nnCron.
3# (http://nemtsev.eserv.ru/)
4
5file.patterns.nncron=*.tab;*.spf
6# add '*.tab;*.spf;' to 'source.files' variable in 'SciTEGlobal.properties'
7# if you want to include these file patterns into default source file list
8
9lexer.$(file.patterns.nncron)=nncrontab
10
11*language.nnCron=&nnCron crontab|tab||
12
13filter.nncrontab=nnCron files (tab spf)|$(file.patterns.nncron)|
14
15*filter.nncrontab=$(filter.nncrontab)
16
17word.characters.$(file.patterns.nncron)=$(chars.alpha)$(chars.numeric)%-
18
19comment.block.nncrontab=\
20
21# nnCrontab styles
22
23# Section keywords and Forth words for nnCrontab
24keywords.$(file.patterns.nncron)=\
25AGAIN ALLOT AND Action BEGIN CASE COMPARE CONSTANT CREATE DO Days ELSE \
26ENDCASE ENDOF EVAL-SUBST EVALUATE FALSE Hours I IF LEAVE LOOP Minutes \
27Months NOT OF OFF ON OR PAD REPEAT Rule SET THEN TRUE Time UNTIL VALUE \
28VARIABLE WHILE WeekDays Years
29
30# Keywords for nnCrontab
31keywords2.$(file.patterns.nncron)=\
32</JScript> </SCRIPT> </VBScript> <JScript> <VBScript> ACCESS-DATE BEEP \
33CALL_DIAL CALL_HANGUP CHAR CLIPBOARD CONSOLE CREATION-DATE CUR-DATE DATE- \
34DATE-INTERVAL DELAY DIAL DIR-CREATE DIR-DELETE DIR-EMPTY DIR-SIZE Day@ \
35Domain ERR-MSG EXIST FILE-ACCESS-DATE FILE-APPEND FILE-COPY FILE-CREATE \
36FILE-CREATION-DATE FILE-CROP FILE-DATE FILE-DELETE FILE-EMPTY FILE-EXIST \
37FILE-MOVE FILE-RENAME FILE-SIZE FILE-WRITE FILE-WRITE-DATE FOR-CHILD-WINDOWS \
38FOR-FILES FOR-WINDOWS FREE-SPACE GET-CUR-TIME GET-REG GET-VER GetTickCount \
39HANGUP HIDE-ICON HINT HINT-OFF HINT-POS HINT-SIZE HINTW HOST-EXIST Hour@ \
40IDLE INTERVAL IS-ARCHIVE IS-DIR IS-HIDDEN IS-READONLY IS-SYSTEM KILL LAUNCH \
41LOG LOGGEDON LOGOFF LogonBatch LogonInteractive LogonNetwork MOUSE-LBCLK \
42MOUSE-LBDCLK MOUSE-LBDN MOUSE-LBUP MOUSE-MOVE MOUSE-MOVER MOUSE-MOVEW \
43MOUSE-RBCLK MOUSE-RBDCLK MOUSE-RBDN MOUSE-RBUP MSG Min@ Mon@ \
44MonitorResponseTime NHOST-EXIST No ONLINE PAUSE PLAY-SOUND PLAY-SOUNDW \
45POP3-CHECK POWEROFF PROC-EXIST PROC-TIME PURGE-OLD PURGE-OLDA PURGE-OLDW \
46Password QSTART-APP QSTART-APPW QUERY QUIT RASDomain RASError RASPassword \
47RASPhone RASSecPassword RASUser RE-ALL RE-MATCH REBOOT REG-DELETE-KEY \
48REG-DELETE-VALUE REG-DWORD REG-SZ REMINDER RUN SEND-KEYS SEND-KEYS-DELAY \
49SHOW-ICON SHUTDOWN START-APP START-APPW START-QUIT START-TIME Sec@ \
50SecPassword THINT THINTW TimeSec@ TMSG TQUERY User WDay@ WIN-ACTIVATE \
51WIN-ACTIVE WIN-CLICK WIN-CLOSE WIN-EXIST WIN-HIDE WIN-HWND WIN-MAXIMIZE \
52WIN-MINIMIZE WIN-MOVE WIN-MOVER WIN-RESTORE WIN-SEND-KEYS WIN-SHOW \
53WIN-TERMINATE WIN-TOPMOST WIN-VER WIN-WAIT WINAPI WRITE-DATE WatchClipboard \
54WatchConnect WatchDir WatchDisconnect WatchDriveInsert WatchDriveRemove \
55WatchFile WatchProc WatchProcStop WatchWinActivate WatchWinCreate \
56WatchWinDestroy WatchWindow WinNT Year@ Yes
57
58# Modifiers for nnCrontab
59keywords3.$(file.patterns.nncron)=\
60ALL AboveNormalPriority AsService BelowNormalPriority FILESONLY \
61HighPriority IdlePriority LoadProfile NoActive NoDel NoLog NoRunAs \
62NormalPriority OnceADay OnceAHour OnceAMonth OnceAWeek RECURSIVE \
63RealtimePriority RunOnce SWHide ShowMaximized ShowMinimized ShowNoActivate \
64ShowNormal StartIn StartPos StartSize TODEPTH WATCH-CHANGE-ATTRIBUTES \
65WATCH-CHANGE-DIR-NAME WATCH-CHANGE-FILE-NAME WATCH-CHANGE-LAST-WRITE \
66WATCH-CHANGE-SECURITY WATCH-CHANGE-SIZE WaitFor WatchSubtree WithoutProfile
67
68# whitespace (SCE_NNCRONTAB_DEFAULT)
69style.nncrontab.0=
70# Comment (SCE_NNCRONTAB_COMMENT)
71style.nncrontab.1=fore:#007F00,$(font.comment)
72# Task start/end (SCE_NNCRONTAB_TASK)
73style.nncrontab.2=$(colour.string),back:#606060,fore:#FFFF00
74# Section keywords (SCE_NNCRONTAB_SECTION)
75style.nncrontab.3=fore:#00007F,bold
76# Keywords (SCE_NNCRONTAB_KEYWORD)
77style.nncrontab.4=fore:#000000,bold
78# Modificators (SCE_NNCRONTAB_MODIFIER)
79style.nncrontab.5=fore:#00007F,italics
80# Asterisk (SCE_NNCRONTAB_ASTERISK)
81style.nncrontab.6=fore:#000000,bold,back:#FFE0FF
82# Number (SCE_NNCRONTAB_NUMBER)
83style.nncrontab.7=fore:#007F7F
84# Double quoted string (SCE_NNCRONTAB_STRING)
85style.nncrontab.8=fore:#7F007F,$(font.monospace)
86# Environment variable (SCE_NNCRONTAB_ENVIRONMENT)
87style.nncrontab.9=back:#FFFFE0
88# Identifier (SCE_NNCRONTAB_IDENTIFIER) - lexer internal. It is an error if any text is in this style.
89style.nncrontab.10=back:#FF0000
90