comment characters
authorClaus Gittinger
Thu, 29 May 2014 13:12:06 +0200
changeset 3159 7f36435f79c9
parent 3158 f041babfda85
child 3165 8f159d8e0749
comment characters
GroovyLanguage.st
--- a/GroovyLanguage.st	Fri May 09 15:06:18 2014 +0200
+++ b/GroovyLanguage.st	Thu May 29 13:12:06 2014 +0200
@@ -123,7 +123,7 @@
 !
 
 syntaxHighlighterClass
-    "Answers a class used by browser and debugger to colorze code.
+    "Answers a class used by browser and debugger to colorize code.
      It is OK to return nil, which means that the code is shown as-is"
 
     "return nil by default"
@@ -145,6 +145,15 @@
     "Created: / 06-09-2012 / 12:09:46 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
+!GroovyLanguage methodsFor:'source queries'!
+
+commentStrings
+    ^ #(
+            '//'            "/ EOL comment
+            ('/*' '*/')     "/ normal comment   
+        )
+! !
+
 !GroovyLanguage methodsFor:'testing'!
 
 isGroovy