-
Notifications
You must be signed in to change notification settings - Fork 32
/
font-lock.txt
47 lines (36 loc) · 1.38 KB
/
font-lock.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
*** Settings ***
Documentation test font lock
Test Setup setup
Test Teardown teardown
*** Test Cases ***
variables should have the variable font lock face
as argument ${scalar}
as infix '${scalar}' arguments
as argument @{list}
as infix '@{list}' arguments
variable assignment uses the variable face
${scalar}= uses the comment face
@{list}= uses the comment face
variables can have spaces inside them
like this ${var containing spaces}
but not record separators (double spaces) ${var other field}
variable face should not be set if the field in question does not have a closing brace '}'
run M-x robot-mode
this should not be colorized ${novar
and neither should this following kw
also here ${var is not a variable
or here in infix form '${var' as you hopefully see
comment faces
comment as a kw uses the comment face
#also hash comments use comment face
#hash comments use comment face at top level also
kw calls should not have function face (issue 18)
first kw
this should not have function face
it should not matter whether the indendation is done with tabs or space
this step should not have function face
*** Keywords ***
font lock for formal arguments in keywords
[Arguments] ${scalar} @{list}
font lock for formal infix '${scalar}' and '@{list}' arguments in keywords
#no contents