On Sep 19, 2011, at 5:28 PM, Igor Stasenko wrote:

> displayScannerFor: para foreground: foreColor background: backColor
> ignoreColorChanges: shadowMode
>       "Fixed to answer a MultiDisplayScanner when the paragraph is any kind of
>       MultiNewParagraph (rather than an instance of the one class) or the 
> paragraph
>       text string is a WideString."
> 
>       ((para isKindOf: MultiNewParagraph) or: [para text string isByteString
>                       or: [para text string isWideString]])
> 
> 
> 
> this one is quite interesting, for what kind of strings in pharo a
> given expression yields false?
> 
> string isByteString or: [ string isWideString]
> 
> ?
> 
> 
> i think this code could be rewritten to
> 
> true ifTrue: [
> ...
> 
> ].


In wise pre-cognition, this was  fixed in 1.4 last weekend :-)


--
Marcus Denker -- http://marcusdenker.de


Reply via email to