<!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">
Just pushed an update. Enable preference at will.<br>
<br>
Cheers,<br>
<br>
On 3/22/2021 4:53 PM, Hernan Wilkinson via Cuis-dev wrote:
<blockquote
cite="mid:CAJAbP8iVh3-qu=C=6aDefLusy74M7RDZUpQYVJwJbUP+0Q7rMg@mail.gmail.com"
type="cite">
<div dir="auto">I like bold for class names... I think a
preference would be the best</div>
<div><br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Mon, 22 Mar 2021 at 16:47
Juan Vuletich <<a moz-do-not-send="true"
href="mailto:juan@jvuletich.org">juan@jvuletich.org</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000"> On 3/18/2021 6:27 PM,
Hernan Wilkinson via Cuis-dev wrote:
<blockquote 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" 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>
</div>
<div bgcolor="#ffffff" text="#000000"> 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 cols="72">--
Juan Vuletich
<a moz-do-not-send="true" href="http://www.cuis-smalltalk.org" target="_blank">www.cuis-smalltalk.org</a>
<a moz-do-not-send="true" href="https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev" target="_blank">https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev</a>
<a moz-do-not-send="true" href="https://github.com/jvuletich" target="_blank">https://github.com/jvuletich</a>
<a moz-do-not-send="true" href="https://www.linkedin.com/in/juan-vuletich-75611b3" target="_blank">https://www.linkedin.com/in/juan-vuletich-75611b3</a>
@JuanVuletich</pre>
</div>
</blockquote>
</div>
</div>
-- <br>
<div dir="ltr" class="gmail_signature"
data-smartmail="gmail_signature">Sent from a fat finger unaware
device</div>
</blockquote>
<br>
<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>