class: Tools::CodeHighlightingService
authorClaus Gittinger <cg@exept.de>
Tue, 01 Sep 2015 18:48:52 +0200
changeset 15827 e1a8c9093e23
parent 15826 faa2d1d06728
child 15828 833ae1c37126
child 15829 ba4d543aff02
class: Tools::CodeHighlightingService comment/format in: #syntaxHighlighters
Tools__CodeHighlightingService.st
--- a/Tools__CodeHighlightingService.st	Tue Sep 01 18:47:28 2015 +0200
+++ b/Tools__CodeHighlightingService.st	Tue Sep 01 18:48:52 2015 +0200
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "
  COPYRIGHT (c) 2010 by Jan Vrany, SWING Research Group. CTU in Prague
               All Rights Reserved
@@ -141,6 +143,9 @@
     highlighters := OrderedCollection new: 4.
     highlighter := self syntaxHighlighter.
     highlighter notNil ifTrue:[
+        "/ cg: who sets this highlighter when adding a subclass to one of the expecco codeDescriptions?
+        "/ highlighter class == Workflow::ExecutionEditorShellScript::NaiveShellScriptSyntaxHighlighter ifTrue:[self halt].
+        "/ highlighter  == Workflow::ExecutionEditorShellScript::NaiveShellScriptSyntaxHighlighter ifTrue:[self halt].
         highlighters add: highlighter 
     ].
 
@@ -148,6 +153,9 @@
         service ~~ self ifTrue:[
             highlighter := service syntaxHighlighter.        
             highlighter notNil ifTrue:[
+                "/ cg: who sets this highlighter when adding a subclass to one of the expecco codeDescriptions?
+                "/ highlighter class == Workflow::ExecutionEditorShellScript::NaiveShellScriptSyntaxHighlighter ifTrue:[self halt].
+                "/ highlighter  == Workflow::ExecutionEditorShellScript::NaiveShellScriptSyntaxHighlighter ifTrue:[self halt].
                 highlighters add: highlighter
             ].
         ]