[squeak-dev] Improving visibility of comments in Shout renders code within SqueakTheme

Marcel Taeumel marcel.taeumel at hpi.de
Mon May 16 15:05:23 UTC 2022


Hi Lauren, hi Dave, hi Tim --

Well, I am not strongly against this (anymore) since we fixed italic rendering at least for TrueType fonts.

I am leaning towards adding an "italic comments" preference as I like the current appearance... Hmm....

Note that the effect of an invalid Shout identifier would then not be so strong anymore. Red and italic are current indications of that.

Well, the "Community (dark)" theme does this already.

+/- 0 :-)

Best,
Marcel
Am 14.05.2022 16:44:59 schrieb David T. Lewis <lewis at mail.msen.com>:
Adding the italics to the comment font looks good to me also.

Dave

On Fri, May 13, 2022 at 04:02:21PM -0600, Lauren P wrote:
> Seconded.
>
> On Fri, May 13, 2022, 11:24 tim Rowledge wrote:
>
> > I find it very hard to discern the colour used by Shout for comments in
> > the SqueakTheme. I would like to suggest that we change to make it italic
> > as well as coloured.
> >
> > If we edit SqueakTheme class>>#addSyntaxHighlighting: where we set the
> > comment style -
> > set: #comment for: #SHTextStylerST80 to: {Color cyan
> > muchDarker. TextEmphasis italic};
> >
> > and then run `self create apply` in the browser then things are more
> > visible.
> >
> > tim
> > --
> > tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
> > Trancelators interpret messages from the dead
> >
> >
> >
> >

>


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


More information about the Squeak-dev mailing list