#REFACTORING by cg
authorClaus Gittinger <cg@exept.de>
Fri, 09 Dec 2016 13:41:46 +0100
changeset 5379 0f89327edf3c
parent 5377 be3bacb6fb97
child 5380 9f6a3e88aaa0
child 5381 cb54dd13c7c3
#REFACTORING by cg class: DoWhatIMeanSupport changed: #tryCodeCompletionWithSource:nodeInterval:at:mustBeExpression:into: avoid creation of new symbols
DoWhatIMeanSupport.st
--- a/DoWhatIMeanSupport.st	Thu Dec 08 04:52:28 2016 +0000
+++ b/DoWhatIMeanSupport.st	Fri Dec 09 13:41:46 2016 +0100
@@ -4537,7 +4537,7 @@
     "/ if in a keyword-argument position...
     node isMessage ifTrue:[
         "/ where are we?
-        node selector isKeyword ifTrue:[
+        node selectorString last == $: "node selector isSymbol" ifTrue:[
             characterBeforeCursor == $: ifTrue:[
                 |argIdx senders implementors receiverClasses selectorUpToCursor implementorOfSelectorUpToCursor|
                 "/ about to enter an argument?