#BUGFIX by cg
authorClaus Gittinger <cg@exept.de>
Sat, 13 Jul 2019 14:11:20 +0200
changeset 18896 4c5933261741
parent 18895 f081b08d0755
child 18897 8c20ce8b83e8
#BUGFIX by cg class: SystemBrowser class added: #findString:inMethods:ignoreCase:match:resourceMethodsOnly:
SystemBrowser.st
--- a/SystemBrowser.st	Sat Jul 13 14:00:30 2019 +0200
+++ b/SystemBrowser.st	Sat Jul 13 14:11:20 2019 +0200
@@ -5301,6 +5301,18 @@
     ^ aCollectionOfMethods select:[:m | searchBlock value:m mclass value:m value:m selector].
 !
 
+findString:aString inMethods:aCollectionOfMethods ignoreCase:ignoreCase match:doMatch resourceMethodsOnly:resourceMethodsOnly
+    "return a collection of all methods in aCollectionOfClasses  
+     containing a string in their source.
+     This may be slow, since source-code has to be scanned."
+
+    ^ self
+        findString:aString 
+        inMethods:aCollectionOfMethods 
+        ignoreCase:ignoreCase match:doMatch fullWordsOnly:false 
+        resourceMethodsOnly:resourceMethodsOnly
+!
+
 findStringLiteral:aString in:aCollectionOfClasses ignoreCase:ignoreCase match:doMatch
     "return a collection of all methods in aCollectionOfClasses  
      containing a string in any of their string-literals."