<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">Hi Hilaire,</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">it looks good to me!</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">I think you need some class side method
for the tools to access the list of preferences:</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">NGPreference class>>preferences<br>
^ ThePreferences <br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">El 30/4/22 a las 10:27, Hilaire
Fernandes via Cuis-dev escribió:<br>
</div>
<blockquote type="cite"
cite="mid:f70563e1-da1b-6f88-0231-03d24ffecae7@drgeo.eu">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<p><font size="4">A first implementation following the ideas
exchanged there. <br>
</font></p>
<p><font size="4">It is a one class approach (hi Ken), with an
additional type attribute (hi Mariano), without defaultValue
attribute, it is not used in the base system</font></p>
<p><font size="4">It is possible to <font color="#97082d">reset</font>
to Cuis base preferences, or to <font color="#97082d">import</font>
the existing Preferences from the old system, but the type is
not good, so only for testing.<br>
</font></p>
<p><font size="4">A preference is created and auto-kept when
instantiating it. <br>
</font></p>
<p><font size="4">Access to Preference instance as dictionary: <font
color="#97082d">PreferenceNG at: #</font></font><font
size="4"><font size="4"><font color="#97082d">biggerCursors</font>.
Access to preference value </font></font><font size="4"><font
size="4"><font size="4"><font color="#97082d">PreferenceNG
at: #</font></font><font size="4"><font size="4"><font
color="#97082d">biggerCursors </font></font></font></font></font>or<font
size="4"><font size="4"> message send </font><font
color="#97082d">PreferenceNG biggerCursors</font><br>
</font></p>
<p><font size="4">Things to do, conform the value change to the
type when type is not a class. Third party editor level right?</font></p>
<p><font size="4">Each occurrence in system of <font
color="#97082d">Preferences biggerCursors</font> should be
replaced by <font color="#97082d">PreferenceNG biggerCursors</font>
(to become just <font color="#97082d">Preference</font> or
even <font color="#97082d">Preference<b>s</b></font>).
Message send goes by a DNU so may be system use should be </font><font
size="4" color="#97082d"><font size="4">PreferenceNG of:
#biggerCursors</font></font></p>
<p><font size="4">Hilaire<br>
</font></p>
<pre class="moz-signature" cols="72">--
GNU Dr. Geo
<a class="moz-txt-link-freetext" href="http://drgeo.eu" moz-do-not-send="true">http://drgeo.eu</a>
<a class="moz-txt-link-freetext" href="http://blog.drgeo.eu" moz-do-not-send="true">http://blog.drgeo.eu</a></pre>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
</blockquote>
<p><br>
</p>
</body>
</html>