In

Inspector>>selectionPrintString it uses:

text := [self selection printStringLimitedTo: 5000]

which sometimes not quite adequate (sometimes i need to display more).

I think it would be nicer if inspector would ask object, if it desires
to limit itself (when printing in big inspection pane)
and what concrete limit it desires, instead of hardcoding the number
in inspector.

Something like:

Object>>printStringLimited
    ^ self printLimit ifNotNil: [:limit |
         self printStringLimitedTo: limit ]
    ifNil: [
      self printString ].

so, then #printLimit could be overridden by choice of developer, to
set (or not) the limits

-- 
Best regards,
Igor Stasenko AKA sig.

Reply via email to