+1

Doru


On 3 Aug 2011, at 06:10, Igor Stasenko wrote:

> 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.
> 

--
www.tudorgirba.com

"We cannot reach the flow of things unless we let go."




Reply via email to