# HG changeset patch # User sr # Date 1579016979 -3600 # Node ID 2c42ce5f058df64775a77d62de638cd7ad844a40 # Parent 333b314ade1113cd7e23589a40e67c1d9a7a98e8 #BUGFIX by Stefan Reise called #size not raises error for streams, fixed by checking is not a stream class: Inspector2::NavigationState changed: #displayOn: diff -r 333b314ade11 -r 2c42ce5f058d Tools__Inspector2.st --- 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'!