#OTHER by exept
authorClaus Gittinger <cg@exept.de>
Fri, 30 Aug 2019 10:44:04 +0200
changeset 6688 e2c2e797ab21
parent 6687 0cccc4bffe67
child 6689 ef1aefd473b3
#OTHER by exept use allRed and allGray
WorkspaceCompletionSupport.st
--- a/WorkspaceCompletionSupport.st	Tue Aug 27 11:14:19 2019 +0200
+++ b/WorkspaceCompletionSupport.st	Fri Aug 30 10:44:04 2019 +0200
@@ -126,7 +126,7 @@
         numSkipped := suggestions size-numShown.
 
         suggestions := (suggestions copyTo:numShown-numLast) 
-                        , { ('<< %1 more skipped >>' bindWith:numSkipped) withColor:Color grey }  
+                        , { ('<< %1 more skipped >>' bindWith:numSkipped) allGray }  
                         , (suggestions copyLast:numLast).
         implementations isSequenceable ifTrue:[ 
             implementations := (implementations copyTo:numShown-numLast),#(nil),(implementations copyLast:numLast).
@@ -177,7 +177,7 @@
                     suggestions isEmpty ifFalse:[ suggestions := suggestions copyWith: '-' ]. 
                     suggestions := suggestions copyWith: ( '%1 %2'
                                             bindWith:(sniplet asStringCollection first "contractTo:25")
-                                            with: ( ('("',abbrev,'" snippet)') withColor:Color gray)).
+                                            with: ( ('("',abbrev,'" snippet)') allGray)).
                     indexOfSnippet := suggestions size.
 
                     "/ change below, when reversing the order in above code (i.e. when snippets come first)