[Q] Alphabetize instance variables in inspectors and debugger

Karl karl.ramberg at comhem.se
Fri Feb 16 11:41:26 UTC 2007


Edgar J. De Cleene wrote:
>
> El 2/12/07 6:51 AM, "Edgar J. De Cleene" <edgardec2001 at yahoo.com.ar>
> escribió:
>
>   
>> I wish have the instance variables in  debugger and inspectors in alphabetic
>> order.
>>
>> I think I see this somewhere, but can remember where.
>>
>> Someone have code or could point to right place ?
>>
>> Thanks in advance.
>>     
>
>
> Well, as nobody answer this , I must solve myself with attached code.
> So , if someone think what is easier work with instance variables in
> alphabetic order, here have how.
>
> Edgar
>
>   
I've only seen the alphabetical ordering of instance variables in Browsers

Karl
> ------------------------------------------------------------------------
>
> 'From SqueakLight3.7.1 of ''4 September 2004'' [latest update: #5989] on 16 February 2007 at 8:29:36 am'!
>
> !Inspector methodsFor: 'accessing' stamp: 'edc 2/16/2007 08:27'!
> baseFieldList
> 	"Answer an Array consisting of 'self' 
> 	and the instance variable names of the inspected object."
> 	^ (Array with: 'self' with: 'all inst vars')
> 		, object class allInstVarNames asSortedCollection! !
>   
> ------------------------------------------------------------------------
>
>
>   




More information about the Squeak-dev mailing list