[squeak-dev] The Trunk: Collections-nice.540.mcz
Levente Uzonyi
leves at elte.hu
Wed Oct 9 22:23:57 UTC 2013
On Wed, 9 Oct 2013, commits at source.squeak.org wrote:
> Nicolas Cellier uploaded a new version of Collections to project The Trunk:
> http://source.squeak.org/trunk/Collections-nice.540.mcz
>
> ==================== Summary ====================
>
> Name: Collections-nice.540
> Author: nice
> Time: 9 October 2013, 2:11:22.561 am
> UUID: 22b71986-3b7f-4cbc-9e4d-175e39b847fe
> Ancestors: Collections-tpr.539
>
> Give back the scanCharactersFrom:to:with:rightX:font: methods to *Graphics
Thanks. :)
Levente
>
> =============== Diff against Collections-tpr.539 ===============
>
> Item was removed:
> - ----- Method: ByteString>>scanCharactersFrom:to:with:rightX:font: (in category 'character scanning') -----
> - scanCharactersFrom: startIndex to: stopIndex with: aCharacterScanner rightX: rightX font: aFont
> - "NB: strongly consider getting almost all these parameters from the scanner"
> - "Since I'm a byte char string, I know that we have to scan single-byte characters and don't have to handle encodings etc"
> - startIndex > stopIndex
> - ifTrue: [^aCharacterScanner handleEndOfRunAt: stopIndex].
> - ^aFont scanByteCharactersFrom: startIndex to: stopIndex in: self with: aCharacterScanner rightX: rightX!
>
> Item was removed:
> - ----- Method: WideString>>scanCharactersFrom:to:with:rightX:font: (in category 'character scanning') -----
> - scanCharactersFrom: startIndex to: stopIndex with: aCharacterScanner rightX: rightX font: aFont
> - "NB: strongly consider getting almost all these parameters from the scanner"
> - "Since I'm a wide char string, I know that we have to scan multi-byte characters and handle encodings etc"
> - | charSet |
> - startIndex > stopIndex
> - ifTrue: [^aCharacterScanner handleEndOfRunAt: stopIndex].
> - charSet := self encodedCharSetAt: startIndex.
> - ^charSet scanMultibyteCharactersFrom: startIndex to: stopIndex in: self with: aCharacterScanner rightX: rightX font: aFont !
>
>
>
More information about the Squeak-dev
mailing list
|