[squeak-dev] Getting rid of Display global

Igor Stasenko siguctua at gmail.com
Sun Nov 9 10:42:19 UTC 2008


2008/11/9 Lukas Renggli <renggli at gmail.com>:
> It works for me from any pane (category, classes, protocols, and
> methods). Are you using any OB extensions that could interfere  here?
>

i'm not sure why it wasn't worked for me in first time..
maybe because i'm too dumb to get how to use it.. or maybe because it
is done in an anti-user-friendly manner and completely non-intuitive.
No offsense to anyone :)

> Lukas
>
> On 11/9/08, Igor Stasenko <siguctua at gmail.com> wrote:
>> i finally got it working!!
>> accept works if i open search from package list..
>> Basically this is all what i need so far..
>> and the search pattern is quite simple:
>>
>> ParseTreeSearcher new
>>       matches: 'Display' do: [ :node :answer | (node parent isAssignment
>> and: [node parent variable == node]) ifTrue: [node] ifFalse: [nil]];
>>       yourself
>>
>> - shows all assignments to Display global var.
>> and if i change ifTrue/ifFalse, it will show me all references to
>> Display, except assignments
>>
>>
>> --
>> Best regards,
>> Igor Stasenko AKA sig.
>>
>>
>
>
> --
> Lukas Renggli
> http://www.lukas-renggli.ch
>
>



-- 
Best regards,
Igor Stasenko AKA sig.



More information about the Squeak-dev mailing list