#BUGFIX by Stefan Reise
called #size not raises error for streams,
fixed by checking is not a stream
class: Inspector2::NavigationState
changed: #displayOn:
--- a/Tools__Inspector2.st Tue Jan 14 11:14:35 2020 +0100
+++ b/Tools__Inspector2.st Tue Jan 14 16:49:39 2020 +0100
@@ -1,5 +1,3 @@
-"{ Encoding: utf8 }"
-
"
COPYRIGHT (c) 2006 by eXept Software AG
All Rights Reserved
@@ -1614,7 +1612,8 @@
].
displayString isNil ifTrue:[
- theObject size > 1000 ifTrue:[
+ (theObject isStream not
+ and:[theObject size > 1000]) ifTrue:[
s := CharacterWriteStream new.
s writeLimit:1000.
WriteError handle:[:ex | ] do:[ theObject displayOn:s ].
@@ -1634,6 +1633,7 @@
"Modified: / 13-06-2012 / 14:40:34 / cg"
"Modified (comment): / 22-02-2017 / 16:48:59 / cg"
"Modified: / 28-11-2017 / 19:12:56 / stefan"
+ "Modified: / 13-01-2020 / 16:04:59 / Stefan Reise"
! !
!Inspector2::NavigationState methodsFor:'initialization'!