Tools__TagList.st
changeset 15771 46fa8e48982e
parent 15711 a18fbc02f64c
child 15773 81a2184a58d7
child 15785 e14b50727952
--- a/Tools__TagList.st	Fri Jul 31 18:22:55 2015 +0200
+++ b/Tools__TagList.st	Fri Jul 31 18:23:21 2015 +0200
@@ -2194,6 +2194,14 @@
         ifNone:nil
 !
 
+tagForType:typeName 
+    ^ rawList 
+        detect:[:tag |
+            tag isTypeTag and:[ tag label = typeName ]
+        ]
+        ifNone:nil
+!
+
 tagsValidForFile
     "the file, for which the tagsList is valid"