AbstractSourceCodeManager.st
changeset 2529 302c2c58caa7
parent 2528 fb5b84f165d4
child 2530 331e4ee893f7
--- a/AbstractSourceCodeManager.st	Thu Sep 29 14:36:34 2011 +0200
+++ b/AbstractSourceCodeManager.st	Thu Sep 29 14:56:07 2011 +0200
@@ -1400,10 +1400,11 @@
 
     selector isNil ifTrue: [^ false].
 
-    ^ selector == #version or:[selector startsWith: 'version_']
-
-    "Modified: / 19-04-2011 / 11:45:37 / cg"
+    ^ selector == self nameOfVersionMethodInClasses 
+        or:[selector startsWith: self prefixOfVersionMethodSelector]
+
     "Modified (comment): / 09-07-2011 / 12:31:24 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+    "Modified: / 29-09-2011 / 14:56:02 / cg"
 !
 
 nameOfVersionMethodForExtensions
@@ -1993,7 +1994,7 @@
 
     doubleColon := source indexOf: $: startingAt: startQuote + 2.
     "/There may be no double colon at all, if the version method
-    "/is fresh, like '$Header: /cvs/stx/stx/libbasic3/AbstractSourceCodeManager.st,v 1.257 2011-09-29 12:36:34 cg Exp $'
+    "/is fresh, like '$Header: /cvs/stx/stx/libbasic3/AbstractSourceCodeManager.st,v 1.258 2011-09-29 12:56:07 cg Exp $'
     (doubleColon == 0 or:[doubleColon > endQuote]) ifTrue:[
         doubleColon := endQuote - 1.
     ].
@@ -3181,8 +3182,12 @@
 
 !AbstractSourceCodeManager class methodsFor:'documentation'!
 
+version
+    ^ '$Header: /cvs/stx/stx/libbasic3/AbstractSourceCodeManager.st,v 1.258 2011-09-29 12:56:07 cg Exp $'
+!
+
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libbasic3/AbstractSourceCodeManager.st,v 1.257 2011-09-29 12:36:34 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic3/AbstractSourceCodeManager.st,v 1.258 2011-09-29 12:56:07 cg Exp $'
 ! !
 
 AbstractSourceCodeManager initialize!