<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 3/18/2021 6:27 PM, Hernan Wilkinson via Cuis-dev wrote:
<blockquote
cite="mid:CAJAbP8jDBV8wozN36LTMaRu5eOVnjV3Ym6-d9tAe8WFOMZcEQQ@mail.gmail.com"
type="cite">
<div dir="ltr">Hi Juan,
<div> when typing a class in the workspace, it appears in normal
text but when typing it in a browser it appears in bold. That
is kind of misleading to new smalltalkers and it was not like
that a few versions ago. </div>
<div> I traced the problem back to allowStylingWithEmphasis that
returns false for workspaces, but I do not understand its
comment :-) </div>
<div><br>
</div>
<div> I'd like to have classes highlighted the same way in a
browser and a workspace, but I'm not sure what will be broken
if Workspace>>#allowStylingWithEmphasis returns true...
Could you take a look?</div>
<div><br>
</div>
<div>Thanks!</div>
<div>Hernan.<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr" class="gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr"><a moz-do-not-send="true"
href="https://10pines.com/"
style="font-family:
Roboto,Helvetica,Arial,sans-serif;
font-size: medium;" target="_blank"><img
moz-do-not-send="true"
src="https://10pines.github.io/email-signature/10pines-firma@2x.png"
style="margin-bottom: 0.5em;"
width="108"></a><span style="color:
rgb(0, 0, 0); font-family:
Roboto,Helvetica,Arial,sans-serif;
font-size: medium;"></span>
<h1 style="margin: 0px; font-size: 14px;">Hernán
Wilkinson</h1>
<h2 style="margin: 0px 0px 1em; font-size:
14px; color: rgb(100, 100, 100);">Software
Developer, Teacher & Coach</h2>
<p style="margin: 0px; color: rgb(100,
100, 100); font-size: 12px;">Alem 896,
Floor 6, Buenos Aires, Argentina</p>
<p style="margin: 0px; color: rgb(100,
100, 100); font-size: 12px;">+54 11 6091
3125</p>
<p style="margin: 0px; color: rgb(100,
100, 100); font-size: 12px;">@HernanWilkinson</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
Hi Hernán,<br>
<br>
That method used to answer true, and styling in workspaces was as
you prefer. But bold or italic text might use different amount of
space than regular text, and all text usually needed to be reflown
during edition. Large workspaces with a lot of content became
sluggish. So, I disabled emphasis (bold or italic) in styled code in
workspaces.<br>
<br>
There are several options here. We could make that a preference
(that could be on by default in CuisUniversity). Or we could just
disable it also on browsers.<br>
<br>
Opinions?<br>
<br>
Cheers,<br>
<pre class="moz-signature" cols="72">--
Juan Vuletich
<a class="moz-txt-link-abbreviated" href="http://www.cuis-smalltalk.org">www.cuis-smalltalk.org</a>
<a class="moz-txt-link-freetext" href="https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev">https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev</a>
<a class="moz-txt-link-freetext" href="https://github.com/jvuletich">https://github.com/jvuletich</a>
<a class="moz-txt-link-freetext" href="https://www.linkedin.com/in/juan-vuletich-75611b3">https://www.linkedin.com/in/juan-vuletich-75611b3</a>
@JuanVuletich</pre>
</body>
</html>