[squeak-dev] PluggableTextMorph fixIntervalCache

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Fri Mar 6 23:48:33 UTC 2020


Le sam. 7 mars 2020 à 00:05, Nicolas Cellier <
nicolas.cellier.aka.nice at gmail.com> a écrit :

> Hi all,
> I wanted to integrate http://source.squeak.org/inbox/Morphic-ct.1619.diff
> but I see strange/convoluted code in PluggableTextMorph>>#printIt
> which I do not understand (self flag: #fixIntervalCache).
>
> If I install ct.1619, I do not really see what changes or break, so I
> wonder if really necessary...
> Could we have some clue?
>

I see a bug in undo when there is an auto-select with
doIt/inspectIt/printIt immediately following a backspace.
This is because #selectFrom:to: first change the selection (invisibly)
before #closeTypeIn

Could all this #fixIntervalCache be related to such kind of bug?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200307/79217b9a/attachment.html>


More information about the Squeak-dev mailing list