<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<meta content="text/html; charset=UTF-8">
<style type="text/css" style="">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<p>Hi Ralph,</p>
<p><br>
</p>
<p>nice idea. I'm currently refactoring all the Inspectors (I hope we can review them soon, and I wish to commit them into the inbox ASAP), and I already implemented the same idea. Coming soon :-)</p>
<p><br>
</p>
<p>Best,</p>
<p>Christoph</p>
<div id="x_Signature">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">
<div name="x_divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div><font size="2" color="#808080"></font></div>
</div>
</div>
</div>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>Von:</b> Squeak-dev <squeak-dev-bounces@lists.squeakfoundation.org> im Auftrag von Ralph Boland <rpboland@gmail.com><br>
<b>Gesendet:</b> Mittwoch, 5. Februar 2020 22:49:29<br>
<b>An:</b> squeak-dev@lists.squeakfoundation.org<br>
<b>Betreff:</b> [squeak-dev] variable assignments button/hotkeys (again)</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">Not long ago I posted about the variable assignments button.<br>
It generated an interesting discussion but I don't think in the end it will<br>
result in any change to the operation of Squeak.<br>
<br>
Let me make a slight variation on this discussion.<br>
<br>
In the Inspector/Debugger the instance variables of  the class being<br>
inspected are displayed in a window and any one of these variables can<br>
be selected/inspected.<br>
Then using a menu or hotkey one can invoke:<br>
         StringHolder>>browseVariableReferences<br>
              or<br>
         StringHolder>>browseVariableAssignments<br>
<br>
These commands bring up a selection window where one chooses one of the instance<br>
variables of the class of the selected variable.  Then  one of the<br>
methods above is invoked<br>
on the instance variable you chose.<br>
<br>
This was counterintuitive to me so I added two new menu-items/hotkeys:<br>
<br>
        ('selected variable references... (u)'<br>
browseSelectedVariableReferences)<br>
                     and<br>
        ('selected variable assignments... (A)'<br>
browseSelectedVariableAssignments)<br>
<br>
These commands act like the cooresponding previous commands except that,<br>
instead of bringing up a selection window for the user to select the<br>
variable to use,<br>
the selected variable of the class being inspected is used (and the class being<br>
inspected is used instead of the class of the selected variable).<br>
<br>
This feature is more intuitive to me and I have found it quite useful.<br>
<br>
I have attached the necessary code as .st files in case anybody would like to<br>
try it out.  These are filed out from Linux but I assume they load as<br>
is to Windows or Mac.<br>
Feel free to make any changes you feel necessary and if it gets added to the<br>
next version of Squeak, great!<br>
<br>
If you try it out let me know what you think.<br>
<br>
Thanks for reading<br>
<br>
Ralph Boland  rpboland@gmail.com<br>
</div>
</span></font>
</body>
</html>