--- a/InspView.st Wed Jun 05 17:02:55 1996 +0200
+++ b/InspView.st Fri Jun 07 20:06:03 1996 +0200
@@ -781,22 +781,24 @@
|index instSize|
- lineNr == 1 ifTrue:[
- ^ inspectedObject
+ (lineNr isNil or:[lineNr == 1]) ifTrue:[
+ ^ inspectedObject
].
index := lineNr - 1. "/ skip self
instSize := inspectedObject class instSize.
(inspectedObject class isVariable not
or:[index <= instSize]) ifTrue:[
- ^ inspectedObject instVarAt:index
+ ^ inspectedObject instVarAt:index
].
index := index - instSize.
^ inspectedObject basicAt:index
+
+ "Modified: 7.6.1996 / 20:05:40 / cg"
! !
!InspectorView class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libtool/Attic/InspView.st,v 1.50 1996-05-31 07:03:45 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libtool/Attic/InspView.st,v 1.51 1996-06-07 18:06:03 cg Exp $'
! !
--- a/InspectorView.st Wed Jun 05 17:02:55 1996 +0200
+++ b/InspectorView.st Fri Jun 07 20:06:03 1996 +0200
@@ -781,22 +781,24 @@
|index instSize|
- lineNr == 1 ifTrue:[
- ^ inspectedObject
+ (lineNr isNil or:[lineNr == 1]) ifTrue:[
+ ^ inspectedObject
].
index := lineNr - 1. "/ skip self
instSize := inspectedObject class instSize.
(inspectedObject class isVariable not
or:[index <= instSize]) ifTrue:[
- ^ inspectedObject instVarAt:index
+ ^ inspectedObject instVarAt:index
].
index := index - instSize.
^ inspectedObject basicAt:index
+
+ "Modified: 7.6.1996 / 20:05:40 / cg"
! !
!InspectorView class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libtool/InspectorView.st,v 1.50 1996-05-31 07:03:45 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libtool/InspectorView.st,v 1.51 1996-06-07 18:06:03 cg Exp $'
! !