"Run to here"

-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



> On May 25, 2017, at 4:15 PM, Stephane Ducasse <[email protected]> wrote:
> 
> Hi 
> 
> In the code below I want to the value of (currentNames includes: v)
> If I remember correctly in the past I could position my cursor and say run up 
> to caret. 
> But I cannot find it. 
> 
> 
> valuesOnlyBy: aRowKey
>       | valueNames |
>       valueNames := self valueNamesOf: aRowKey.
>       (self rowKeysExcept: aRowKey)
>               do: [ :eachRowName | 
>                       | currentNames |
>                       self halt.
>                       currentNames := self valueNamesOf: eachRowName.
>                       valueNames
>                               do: [ :v | 
>                                       (currentNames includes: v)
>                                               ifTrue: [ valueNames remove: v 
> ].
>                                       valueNames isEmpty
>                                               ifTrue: [ ^ #() ] ] ].
>       ^ valueNames
> 
> BTW Does anybody understand what through is doing and how to use it?
> I do not understand the fly by help :((((((((((((((((
> Nor when I use it. 
> 
> Stef
> 
> 
> 

Reply via email to