[squeak-dev] The Trunk: ST80-nice.220.mcz
karl ramberg
karlramberg at gmail.com
Thu Oct 27 09:04:54 UTC 2016
Should the comment be changed here? Or is it still a hack ?
Best,
Karl
On Thu, Oct 27, 2016 at 2:43 AM, <commits at source.squeak.org> wrote:
> Nicolas Cellier uploaded a new version of ST80 to project The Trunk:
> http://source.squeak.org/trunk/ST80-nice.220.mcz
>
> ==================== Summary ====================
>
> Name: ST80-nice.220
> Author: nice
> Time: 27 October 2016, 2:43:25.251747 am
> UUID: e617501e-764e-4c9c-8c0c-a2a559e84940
> Ancestors: ST80-tfel.219
>
> Remove an old Transcript show: remnant from horrorful text selection debug
> session.
>
> =============== Diff against ST80-tfel.219 ===============
>
> Item was changed:
> ----- Method: CharacterBlockScannerForMVC>>crossedX (in category 'stop
> conditions') -----
> crossedX
> characterIndex == nil ifFalse: [
> "If the last character of the last line is a space,
> and it crosses the right margin, then locating
> the character block after it is impossible without this
> hack."
> + characterIndex > text size ifTrue: [
> - characterIndex > text size ifTrue: [Transcript cr;
> show:'here'.
> lastIndex := characterIndex.
> characterPoint := (nextLeftMargin ifNil:
> [leftMargin]) @ (destY + line lineHeight).
> ^true]].
> ^super crossedX!
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20161027/26ddb13b/attachment.htm
More information about the Squeak-dev
mailing list
|