#REFACTORING by cg
class: DoWhatIMeanSupport
changed: #tryCodeCompletionWithSource:nodeInterval:at:mustBeExpression:into:
avoid creation of new symbols
--- 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?