class: Tools::TagList
authorClaus Gittinger <cg@exept.de>
Tue, 23 Dec 2014 18:07:24 +0100
changeset 15072 113054b443df
parent 15071 86436f59d484
child 15073 f7104d787a17
class: Tools::TagList changed: #javaScriptTagsInFile:
Tools__TagList.st
--- a/Tools__TagList.st	Tue Dec 23 15:56:09 2014 +0100
+++ b/Tools__TagList.st	Tue Dec 23 18:07:24 2014 +0100
@@ -3172,6 +3172,19 @@
                                             lineNumber:lineNr).
                         ].
                     ].
+                ] ifFalse:[
+                    ((l includesString:'=function') or:[(l includesString:'= function')]) ifTrue:[
+                        (showOnly isNil or:[showOnly == #functions]) ifTrue:[
+                            self hideFunctions ~~ true ifTrue:[
+                                nm := l copyTo:((l indexOf:$=) - 1). nm := nm withoutSeparators.
+                                targets add:(Tag::TFunction 
+                                                label:nm 
+                                                pattern:nil
+                                                type:nil
+                                                lineNumber:lineNr).
+                            ].
+                        ].
+                    ].
                 ].
             ]
         ].
@@ -3980,14 +3993,14 @@
 !TagList class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libtool/Tools__TagList.st,v 1.65 2014-11-21 18:15:30 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/Tools__TagList.st,v 1.66 2014-12-23 17:07:24 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libtool/Tools__TagList.st,v 1.65 2014-11-21 18:15:30 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/Tools__TagList.st,v 1.66 2014-12-23 17:07:24 cg Exp $'
 !
 
 version_SVN
-    ^ '$Id: Tools__TagList.st,v 1.65 2014-11-21 18:15:30 cg Exp $'
+    ^ '$Id: Tools__TagList.st,v 1.66 2014-12-23 17:07:24 cg Exp $'
 ! !