Igor, I think you've half reason about the quality of the test, but in a dynamic language like Smalltalk there is no warranty string wouldn't be anything else than a String. . .
Em 19/09/2011 12:28, Igor Stasenko < [email protected] > escreveu: 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: [ ... ]. -- Best regards, Igor Stasenko.
