added: #collectionEnumerationSelectors
authorClaus Gittinger <cg@exept.de>
Tue, 14 Feb 2012 16:13:46 +0100
changeset 2817 b92ea70a5a9f
parent 2816 e8b84f6d7462
child 2818 dc09e77ad723
added: #collectionEnumerationSelectors
AbstractSyntaxHighlighter.st
--- a/AbstractSyntaxHighlighter.st	Tue Feb 14 16:05:54 2012 +0100
+++ b/AbstractSyntaxHighlighter.st	Tue Feb 14 16:13:46 2012 +0100
@@ -342,6 +342,23 @@
 
 !AbstractSyntaxHighlighter methodsFor:'misc'!
 
+collectionEnumerationSelectors
+    "these are considered wellknown, builtin selectors of very common
+     collection enumeration methods. 
+     These are optionally shown with another color (dark green)"
+
+    ^ #(
+        collect: 
+        select:
+        inject:into:
+        count:
+        collect:thenSelect:
+        select:thenCollect:
+    )
+
+    "Created: / 14-02-2012 / 15:56:59 / cg"
+!
+
 controlFlowSelectors
     "these are considered wellknown, builtin selectors of very common
      control flow constructs. Correspond to syntax or special forms in other
@@ -478,11 +495,11 @@
 !AbstractSyntaxHighlighter class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libcomp/AbstractSyntaxHighlighter.st,v 1.14 2012-02-13 11:06:16 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libcomp/AbstractSyntaxHighlighter.st,v 1.15 2012-02-14 15:13:46 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libcomp/AbstractSyntaxHighlighter.st,v 1.14 2012-02-13 11:06:16 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libcomp/AbstractSyntaxHighlighter.st,v 1.15 2012-02-14 15:13:46 cg Exp $'
 !
 
 version_SVN