#OTHER by mawalch
authormawalch
Wed, 07 Sep 2016 13:55:09 +0200
changeset 3322 7fa5dfa1832f
parent 3321 08f3a7af6975
child 3323 9c579009a14b
#OTHER by mawalch recieve -> receive
MethodFinderWindow.st
--- a/MethodFinderWindow.st	Mon Aug 22 11:27:31 2016 +0200
+++ b/MethodFinderWindow.st	Wed Sep 07 13:55:09 2016 +0200
@@ -1055,7 +1055,7 @@
 
 search
     "Do a search based on the input in the various text editors. Return the receiver."
-    
+
     |tempReceiver tempAnswer tempArguments anArray resultArray receiverWithArgument mf|
 
     self resultHolder value:nil.
@@ -1071,7 +1071,7 @@
     anArray
         at:1 put:receiverWithArgument;
         at:2 put:tempAnswer value.
-     "an array now holds the following array #(#(receiver argument) answer) or #(#(reciever) answer). which should
+     "an array now holds the following array #(#(receiver argument) answer) or #(#(receiver) answer). which should
      be suitable input for the method finder."
     self withCursor:Cursor execute
         do:[
@@ -1085,8 +1085,8 @@
         ^ self
     ].
      "the following then replaces data1 and data2 created by the method finder to the appropriate arguments"
-    resultArray 
-        keysAndValuesDo:[:key :value | 
+    resultArray
+        keysAndValuesDo:[:key :value |
             |newValue|
 
             newValue := value replString:'data1' withString:(tempReceiver key).
@@ -1735,17 +1735,17 @@
 
 receiverEditorContents
     "Return a cleaned up version of receiver taken from the receiverEditor
-     as an association. The association has aCleanedRecieverString as a key and the
+     as an association. The association has aCleanedReceiverString as a key and the
      compiledReceiver as value."
-    
-    |aCleanedRecieverString compiledReceiver|
+
+    |aCleanedReceiverString compiledReceiver|
 
-    aCleanedRecieverString := self cleanInputs:(receiverEditor contents).
-    compiledReceiver := Compiler evaluate:aCleanedRecieverString.
-    ((self isExpression:aCleanedRecieverString) or:[ compiledReceiver isNil ]) ifTrue:[
-        aCleanedRecieverString := compiledReceiver printString
+    aCleanedReceiverString := self cleanInputs:(receiverEditor contents).
+    compiledReceiver := Compiler evaluate:aCleanedReceiverString.
+    ((self isExpression:aCleanedReceiverString) or:[ compiledReceiver isNil ]) ifTrue:[
+        aCleanedReceiverString := compiledReceiver printString
     ].
-    ^ aCleanedRecieverString -> compiledReceiver.
+    ^ aCleanedReceiverString -> compiledReceiver.
 !
 
 waitForBackgroundSearchFinished