[squeak-dev] The Inbox: ShoutCore-ul.65.mcz

Marcel Taeumel marcel.taeumel at hpi.de
Sat Jul 20 08:29:33 UTC 2019


Hi, all.

Yeah, I overlooked PluggableTextMorphPlus >> #udpateStyle, which is called after every keystroke. There, it is background-styling all the time. :-) 

Not sure, why. Immediate styling would reduce some flickering for fast typists.

Best,
Marcel
Am 11.07.2019 07:17:23 schrieb Marcel Taeumel <marcel.taeumel at hpi.de>:
Hi Tim, hi Chris,

Shout uses a background process only for texts larger than 4095 characters. See PluggableTextMorphPlus >> #setText:. In all other cases, text styling is synchronuous. Counting local Trunk image, that's - for example - for only 153 out of 61043 methods. So 0.003%.

I have no idea, where this character threshold comes from. :-) Maybe that should be reduced for slow machines?

Best,
Marcel
Am 10.07.2019 21:06:18 schrieb tim Rowledge <tim at rowledge.org>:


> On 2019-07-10, at 10:32 AM, Chris Muller wrote:
>
> So there are not delays between what's typed and what's rendered.

OK, but I can say from experience that it didn't do a very good job of that on a slow machine (e.g. the original Pi with the non-cog vm) where the only way to get tolerable typing response was to uninstall it!


tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Everybody repeat after me....."We are all individuals."



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20190720/11631e3d/attachment.html>


More information about the Squeak-dev mailing list