I had to implement such an extension method:
getCurrentIndexes
| result iList |
result := OrderedCollection new.
iList := self _indexedPaths.
iList == nil
ifFalse: [
2 to: iList size by: 2 do: [ :i |
(iList at: i) > 0 ifTrue: [ result add: (iList at: i - 1) ]
]
].
^ result
But it seems a bit hacky and cryptic. I am using GemStone 3.1.0.6.
Thanks!
--
_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass