[squeak-dev] Unable to change font style or emphasis from halo in scrolled text

Stéphane Rollandin lecteur at zogotounga.net
Sun Aug 7 22:47:02 UTC 2022


> In 6.0, if you type a long text in a workspace, then select a word at
> the bottom and attempt to set it in bold emphasis, you will see that the
> halo to do so is not accessible anymore.
> 
> To be precise:
> 
> once the cursor is on the selected text
> 	- the first alt-click brings the Workspace halo
> 	- the second one yield the PluggableTextMorphPlus halo
> 	- the third one yield the TextMorphForEditView halo
> 
> It is the later halo that is scrolled with the text display, making it
> out of sight if we scroll too much.

After investigation, the problem seems to come from the #renderedMorph 
in HaloMorph>>#step

Commenting it out fixes the bug. Any side-effect?

Stef


More information about the Squeak-dev mailing list