This file is indexed.

/usr/share/mc/syntax/smalltalk.syntax is in mc-data 3:4.8.3-10.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
###################################################################################
# (GNU) SmallTalk syntax hilighting by Carlos Rodrigues <a9566@lei.di.fct.unl.pt> #
###################################################################################

# I guess this is not very syntax strict, but it makes the code
# a lot more readable.

context default
    keyword whole methodsFor yellow
    keyword whole subclass yellow
    keyword whole class yellow
    keyword whole nil yellow
    keyword whole self yellow
    keyword whole instanceVariableNames yellow
    keyword whole classVariableNames yellow
    keyword whole poolDictionaries yellow
    keyword whole category yellow
    keyword whole super yellow
    keyword whole category yellow
    keyword whole variableSubclass yellow
    keyword whole variableByteSubclass yellow
    keyword whole variableWordSubclass yellow
    keyword whole superclass yellow

    keyword whole not brightmagenta
    keyword whole comment brightmagenta
    keyword whole error brightmagenta
    keyword whole at brightmagenta
    keyword whole put brightmagenta
    keyword whole add brightmagenta
    keyword whole remove brightmagenta
    keyword whole new brightmagenta
    keyword whole ifTrue brightmagenta
    keyword whole ifFalse brightmagenta
    keyword whole whileTrue brightmagenta
    keyword whole whileFalse brightmagenta
    keyword whole ifAbsent brightmagenta
    keyword whole init brightmagenta
    keyword whole do brightmagenta
    keyword whole from brightmagenta
    keyword whole with brightmagenta
    keyword whole do brightmagenta
    keyword whole true brightmagenta
    keyword whole false brightmagenta
    keyword whole or brightmagenta
    keyword whole and brightmagenta
    keyword whole to brightmagenta
    keyword whole by brightmagenta

    keyword whole Smalltalk brightgreen
    keyword whole Object brightgreen
    keyword whole Autoload brightgreen
    keyword whole Behavior brightgreen
    keyword whole ClassDescription brightgreen
    keyword whole Class brightgreen
    keyword whole MetaClass brightgreen
    keyword whole BlockContext brightgreen
    keyword whole Boolean brightgreen
    keyword whole False brightgreen
    keyword whole True brightgreen
    keyword whole CFunctionDescriptor brightgreen
    keyword whole CObject brightgreen
    keyword whole Collection brightgreen
    keyword whole Bag brightgreen
    keyword whole MappedCollection brightgreen
    keyword whole SequenceableCollection brightgreen
    keyword whole ArrayedCollection brightgreen
    keyword whole Array brightgreen
    keyword whole ByteArray brightgreen
    keyword whole CompiledCollection brightgreen
    keyword whole String brightgreen
    keyword whole Symbol brightgreen
    keyword whole Interval brightgreen
    keyword whole LinkedList brightgreen
    keyword whole Semaphore brightgreen
    keyword whole OrderedCollection brightgreen
    keyword whole SortedCollection brightgreen
    keyword whole Set brightgreen
    keyword whole Dictionary brightgreen
    keyword whole IdentityDictionary brightgreen
    keyword whole SystemDictionary brightgreen
    keyword whole Delay brightgreen
    keyword whole FileSegment brightgreen
    keyword whole Link brightgreen
    keyword whole Process brightgreen
    keyword whole SymLink brightgreen
    keyword whole Magnitude brightgreen
    keyword whole Character brightgreen
    keyword whole Date brightgreen
    keyword whole LookupKey brightgreen
    keyword whole Association brightgreen
    keyword whole Number brightgreen
    keyword whole Float brightgreen
    keyword whole Integer brightgreen
    keyword whole Time brightgreen
    keyword whole Memory brightgreen
    keyword whole ByteMemory brightgreen
    keyword whole WordMemory brightgreen
    keyword whole Message brightgreen
    keyword whole MethodContext brightgreen
    keyword whole MethodInfo brightgreen
    keyword whole ProcessorScheduler brightgreen
    keyword whole SharedQueue brightgreen
    keyword whole Stream brightgreen
    keyword whole PositionableStream brightgreen
    keyword whole ReadStream brightgreen
    keyword whole WriteStream brightgreen
    keyword whole ReadWriteStream brightgreen
    keyword whole FileStream brightgreen
    keyword whole Random brightgreen
    keyword whole TokenStream brightgreen
    keyword whole UndefinedObject brightgreen

    keyword wholeright !! brightred
    keyword wholeright ! brightred
    keyword wholeleft ! brightred
    keyword wholeright . brightred

    keyword > cyan
    keyword <> cyan
    keyword < cyan
    keyword \+ cyan
    keyword - cyan
    keyword \* cyan
    keyword / cyan
    keyword % cyan
    keyword = cyan
    keyword | cyan
    keyword # cyan
    keyword @ cyan
    keyword ^ cyan
    keyword { cyan
    keyword } cyan
    keyword ( cyan
    keyword ) cyan
    keyword [ cyan
    keyword ] cyan
    keyword , cyan
    keyword : cyan
    keyword & cyan
    keyword $ cyan
    keyword . cyan
    keyword ! cyan
    keyword ; cyan
    keyword _ cyan
    keyword ~ cyan
    keyword ? cyan

context $ ; cyan

context " " brown

context ' ' brightcyan

    keyword \\\n brightmagenta
    keyword \\" brightmagenta
    keyword \\\\ brightmagenta
    keyword \\' brightmagenta