smalltalk.syntax 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. ###################################################################################
  2. # (GNU) SmallTalk syntax highlighting by Carlos Rodrigues <a9566@lei.di.fct.unl.pt> #
  3. ###################################################################################
  4. # I guess this is not very syntax strict, but it makes the code
  5. # a lot more readable.
  6. context default
  7. keyword whole methodsFor yellow
  8. keyword whole subclass yellow
  9. keyword whole class yellow
  10. keyword whole nil yellow
  11. keyword whole self yellow
  12. keyword whole instanceVariableNames yellow
  13. keyword whole classVariableNames yellow
  14. keyword whole poolDictionaries yellow
  15. keyword whole category yellow
  16. keyword whole super yellow
  17. keyword whole category yellow
  18. keyword whole variableSubclass yellow
  19. keyword whole variableByteSubclass yellow
  20. keyword whole variableWordSubclass yellow
  21. keyword whole superclass yellow
  22. keyword whole not brightmagenta
  23. keyword whole comment brightmagenta
  24. keyword whole error brightmagenta
  25. keyword whole at brightmagenta
  26. keyword whole put brightmagenta
  27. keyword whole add brightmagenta
  28. keyword whole remove brightmagenta
  29. keyword whole new brightmagenta
  30. keyword whole ifTrue brightmagenta
  31. keyword whole ifFalse brightmagenta
  32. keyword whole whileTrue brightmagenta
  33. keyword whole whileFalse brightmagenta
  34. keyword whole ifAbsent brightmagenta
  35. keyword whole init brightmagenta
  36. keyword whole do brightmagenta
  37. keyword whole from brightmagenta
  38. keyword whole with brightmagenta
  39. keyword whole do brightmagenta
  40. keyword whole true brightmagenta
  41. keyword whole false brightmagenta
  42. keyword whole or brightmagenta
  43. keyword whole and brightmagenta
  44. keyword whole to brightmagenta
  45. keyword whole by brightmagenta
  46. keyword whole Smalltalk brightgreen
  47. keyword whole Object brightgreen
  48. keyword whole Autoload brightgreen
  49. keyword whole Behavior brightgreen
  50. keyword whole ClassDescription brightgreen
  51. keyword whole Class brightgreen
  52. keyword whole MetaClass brightgreen
  53. keyword whole BlockContext brightgreen
  54. keyword whole Boolean brightgreen
  55. keyword whole False brightgreen
  56. keyword whole True brightgreen
  57. keyword whole CFunctionDescriptor brightgreen
  58. keyword whole CObject brightgreen
  59. keyword whole Collection brightgreen
  60. keyword whole Bag brightgreen
  61. keyword whole MappedCollection brightgreen
  62. keyword whole SequenceableCollection brightgreen
  63. keyword whole ArrayedCollection brightgreen
  64. keyword whole Array brightgreen
  65. keyword whole ByteArray brightgreen
  66. keyword whole CompiledCollection brightgreen
  67. keyword whole String brightgreen
  68. keyword whole Symbol brightgreen
  69. keyword whole Interval brightgreen
  70. keyword whole LinkedList brightgreen
  71. keyword whole Semaphore brightgreen
  72. keyword whole OrderedCollection brightgreen
  73. keyword whole SortedCollection brightgreen
  74. keyword whole Set brightgreen
  75. keyword whole Dictionary brightgreen
  76. keyword whole IdentityDictionary brightgreen
  77. keyword whole SystemDictionary brightgreen
  78. keyword whole Delay brightgreen
  79. keyword whole FileSegment brightgreen
  80. keyword whole Link brightgreen
  81. keyword whole Process brightgreen
  82. keyword whole SymLink brightgreen
  83. keyword whole Magnitude brightgreen
  84. keyword whole Character brightgreen
  85. keyword whole Date brightgreen
  86. keyword whole LookupKey brightgreen
  87. keyword whole Association brightgreen
  88. keyword whole Number brightgreen
  89. keyword whole Float brightgreen
  90. keyword whole Integer brightgreen
  91. keyword whole Time brightgreen
  92. keyword whole Memory brightgreen
  93. keyword whole ByteMemory brightgreen
  94. keyword whole WordMemory brightgreen
  95. keyword whole Message brightgreen
  96. keyword whole MethodContext brightgreen
  97. keyword whole MethodInfo brightgreen
  98. keyword whole ProcessorScheduler brightgreen
  99. keyword whole SharedQueue brightgreen
  100. keyword whole Stream brightgreen
  101. keyword whole PositionableStream brightgreen
  102. keyword whole ReadStream brightgreen
  103. keyword whole WriteStream brightgreen
  104. keyword whole ReadWriteStream brightgreen
  105. keyword whole FileStream brightgreen
  106. keyword whole Random brightgreen
  107. keyword whole TokenStream brightgreen
  108. keyword whole UndefinedObject brightgreen
  109. keyword wholeright !! brightred
  110. keyword wholeright ! brightred
  111. keyword wholeleft ! brightred
  112. keyword wholeright . brightred
  113. keyword > cyan
  114. keyword <> cyan
  115. keyword < cyan
  116. keyword \+ cyan
  117. keyword - cyan
  118. keyword \* cyan
  119. keyword / cyan
  120. keyword % cyan
  121. keyword = cyan
  122. keyword | cyan
  123. keyword # cyan
  124. keyword @ cyan
  125. keyword ^ cyan
  126. keyword { cyan
  127. keyword } cyan
  128. keyword ( cyan
  129. keyword ) cyan
  130. keyword [ cyan
  131. keyword ] cyan
  132. keyword , cyan
  133. keyword : cyan
  134. keyword & cyan
  135. keyword $ cyan
  136. keyword . cyan
  137. keyword ! cyan
  138. keyword ; cyan
  139. keyword _ cyan
  140. keyword ~ cyan
  141. keyword ? cyan
  142. context $ ; cyan
  143. context " " brown
  144. context ' ' brightcyan
  145. keyword \\\n brightmagenta
  146. keyword \\" brightmagenta
  147. keyword \\\\ brightmagenta
  148. keyword \\' brightmagenta