<div dir="auto">My 2 cents. I use printIt a lot and I really hated what they did in pharo. If we’re going to change it in Cuis, could we make it a preference?</div><div dir="auto"><br></div><div dir="auto">Thanks,</div><div dir="auto">Luciano</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 2 Dec 2021 at 3:07 AM Gerald Klix via Cuis-dev <<a href="mailto:cuis-dev@lists.cuis.st">cuis-dev@lists.cuis.st</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><br>
<br>
On 12/1/21 8:45 PM, Hernan Wilkinson via Cuis-dev wrote:<br>
>><br>
>><br>
>><br>
>> Actually I would like to have both features available<br>
>> in every CodeWindow, alas we are running out of portable hot keys.<br>
>> (More on that topic below)<br>
>><br>
> <br>
> yeah, me too. But as you said we are running out of shortcuts... we will do<br>
> something, we have to think about it .-)<br>
> <br>
> <br>
>> Both features should also be available as menu items.<br>
>> Additionally having the "print to hover help" bound to<br>
>> a key would be great, Ctrl-Shift-P comes to my mind.<br>
>><br>
> <br>
> I use ctrl-shift-p in LiveTyping to show the types under cursor :-)<br>
Thats a pitty, lets see if I find something different.<br>
> <br>
> <br>
>> Actually -- Cuis then becoming more Pharo like -- I suggest<br>
>> to bind the "print to hover help@ to Ctrl-P and<br>
>> the old "print to insert" to Shift-Ctrl-P,<br>
>> but I don't know whether this too drastic a change.<br>
>> If the community is undecided in this point, we can do<br>
>> what we always do in such a case: We should add a preference.<br>
>><br>
> <br>
> hmm not sure about that change... do you think is it more usable with the<br>
> hover help? I think we have to let time pass and see how everybody feels<br>
> about this and if everybody see it as a better way to do it we can change<br>
> the shortcuts<br>
I can't remember one case, even in 1986/7 when I used Smalltalk/V,<br>
that I did not delete the result of print-it.<br>
OK maybe sometimes, I pressed Ctrl-x.<br>
If you use it in the debugger, you always get nasty<br>
questions about modified code.<br>
IHMO: This change would make life much easier;<br>
sometimes even the Pharo guys get something right :}<br>
(Sorry could not resist)<br>
> <br>
> <br>
>><br>
>> Now some words/rants about modifier-keys and mouse-buttons:<br>
>> I have no idea why the VM does not map the Windows-key on<br>
>> to `macOptionKey`, that would be immensely helpful.<br>
>> The same goes for the Menu-key (I am aware that this might<br>
>> give Mac-Users some ulcers).<br>
>> Additionally I would like to see the non-standard-buttons<br>
>> on my mice/trackballs reported somehow. Again this<br>
>> is not present on a Mac, but they usual tablet lacks<br>
>> all these features ...<br>
>><br>
>> Enough complaints:<br>
>> * Will the community (and Juan) support me, when<br>
>> I try to add these to the X11-display driver?*<br>
>><br>
> <br>
> Yeah! definitely!<br>
> <br>
> Cheers!<br>
> Hernan.<br>
> <br>
> <br>
>> I don't know whether I get this working on Windows,<br>
>> but I'll try.<br>
>><br>
>><br>
>> HTH and Best Regards,<br>
>><br>
>> Gerald<br>
>><br>
>><br>
>><br>
>> On 12/1/21 3:50 PM, Hernan Wilkinson via Cuis-dev wrote:<br>
>>> That's a good one! But we have to make it different because if we move it<br>
>>> to CodeWindow the DebuggerWindow will have two handlers for that event.<br>
>>> But I'll make it work also for the changes windows.<br>
>>><br>
>>> Regarding the shift+click, I selected that one because all the others are<br>
>>> already taken as you also discovered, but the double click looks like a<br>
>>> good idea, thanks!<br>
>>><br>
>>> On Wed, Dec 1, 2021 at 9:04 AM Gerald Klix <<a href="mailto:cuis.01@klix.ch" target="_blank">cuis.01@klix.ch</a>> wrote:<br>
>>><br>
>>>> Hi Hernan,<br>
>>>><br>
>>>> please find attached one solution for the shift-click conflict.<br>
>>>> I suppose shift-double-click is probably a better one.<br>
>>>><br>
>>>><br>
>>>> HTH,<br>
>>>><br>
>>>> Gerald<br>
>>>><br>
>>>><br>
>>>> On 12/1/21 11:01 AM, Gerald Klix via Cuis-dev wrote:<br>
>>>>> +1<br>
>>>>><br>
>>>>> Cool! If you move that feature up to CodeWindow, it's available<br>
>>>>> even in change sorters.<br>
>>>>><br>
>>>>> Please see attached change set.<br>
>>>>><br>
>>>>><br>
>>>>> However shift-click already extends the current selection.<br>
>>>>> I tried different modifiers, alas they are all taken.<br>
>>>>> Morph>>doubleClick:localPosition: does not work either,<br>
>>>>> probably, because the morph in question<br>
>>>>> handles double-clicks by itself (it also implements<br>
>>>>> triple-clicks).<br>
>>>>><br>
>>>>> Perhaps we can check this and only invoke that functionality<br>
>>>>> if the selection would not be changed by the shift click,<br>
>>>>> or if the selection is empty ... Will try figure some<br>
>>>>> smart way.<br>
>>>>><br>
>>>>><br>
>>>>> HTH,<br>
>>>>><br>
>>>>> Gerald<br>
>>>>><br>
>>>>><br>
>>>>><br>
>>>>> On 11/30/21 11:23 PM, Hernan Wilkinson via Cuis-dev wrote:<br>
>>>>>> Hi,<br>
>>>>>> I created two new features that I'm attaching to this email.<br>
>>>>>> 1) If you do shift+click in the debugger over the code, you will get<br>
>> the<br>
>>>>>> same result as doing inspect on it but it will be shown as a hover<br>
>> help.<br>
>>>>>> Here is a link that shows how it works:<br>
>>>>>> <a href="https://twitter.com/HernanWilkinson/status/1465079401641652225?s=20" rel="noreferrer" target="_blank">https://twitter.com/HernanWilkinson/status/1465079401641652225?s=20</a><br>
>>>>>> 2) If you do shift+click in the browser, if the mouse is over a<br>
>> message<br>
>>>>>> send, it will show the implementors of that message, if it is over a<br>
>>>>>> class,<br>
>>>>>> it will open the browser over the class. Here also a link:<br>
>>>>>> <a href="https://twitter.com/HernanWilkinson/status/1465079839916974085?s=20" rel="noreferrer" target="_blank">https://twitter.com/HernanWilkinson/status/1465079839916974085?s=20</a><br>
>>>>>><br>
>>>>>> Doing this I realized that there is really no need to differentiate<br>
>>>>>> sender<br>
>>>>>> (cmd+n) from references to it (cmd+N), if the browser is smart enough<br>
>> to<br>
>>>>>> realize the cursor is on a selector it can show senders, if the cursor<br>
>>>> is<br>
>>>>>> over a class, it can show the references to it.<br>
>>>>>> The same between implementors (cmd+m) and browse (cmd+b).<br>
>>>>>> So I expanded the functionality of doing senders and implementors when<br>
>>>>>> nothing is selected (something I did 2 year ago aprox) to check if the<br>
>>>>>> cursor is over a selector or a class and act accordingly.<br>
>>>>>><br>
>>>>>> Also in this .cs is a fix to PseudoClass that did now answer<br>
>> superclass<br>
>>>>>> (I'm sorry Juan to put everything in the same .cs :-) )<br>
>>>>>><br>
>>>>>> I hope you like it!<br>
>>>>>> Hernan.<br>
>>>>>><br>
>>>>>><br>
>>>>>><br>
>>>>><br>
>>>><br>
>>><br>
>>><br>
>>><br>
>><br>
> <br>
> <br>
> <br>
-- <br>
Cuis-dev mailing list<br>
<a href="mailto:Cuis-dev@lists.cuis.st" target="_blank">Cuis-dev@lists.cuis.st</a><br>
<a href="https://lists.cuis.st/mailman/listinfo/cuis-dev" rel="noreferrer" target="_blank">https://lists.cuis.st/mailman/listinfo/cuis-dev</a><br>
</blockquote></div></div>