[Q] Alphabetize instance variables in inspectors and debugger

Edgar J. De Cleene edgardec2001 at yahoo.com.ar
Fri Feb 16 11:33:47 UTC 2007




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

-------------- next part --------------
'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