[Cuis-dev] [ChangeSet] Delete words with ctrl/alt + backspace on editors

Nahuel Garbezza n.garbezza at gmail.com
Sun May 19 16:13:05 PDT 2019


Thank you!

Here's the changeset for deleting forward :)

It was very funny to do it because I broke the key event dispatcher at some
point and I had to fix it by "typing" only using the mouse.

Nahuel

El dom., 19 de may. de 2019 a la(s) 18:08, Hernan Wilkinson (
hernan.wilkinson at 10pines.com) escribió:

> At github now!
>
> On Sun, May 19, 2019 at 6:03 PM Hernan Wilkinson <
> hernan.wilkinson at 10pines.com> wrote:
>
>> Sorry, my bad! In Mac cmd+backspace deletes from the cursos to the
>> beginnig of the line. Alt+backspace deletes de previous word.
>> I'll integrate it then but as Juan said, we are looking forward for the
>> forwardDelete: Nahue :-)
>>
>> On Sun, May 19, 2019 at 10:59 AM Juan Vuletich <juan at jvuletich.org>
>> wrote:
>>
>>> On 5/16/2019 6:21 PM, Nahuel Garbezza via Cuis-dev wrote:
>>>
>>> It's present in basically every text editor I used.
>>>
>>> I've been told (I don't have a mac to prove it :D) that in Macs it is
>>> done with Option+Backspace. Because Cmd+Backspace is equivalent to the
>>> "delete" key I think?
>>>
>>>
>>> Nahuel, IIRC, on Mac Shift-Backspace is equivalent to "Delete" key. That
>>> is handled in #backspace, and your change keeps it.
>>>
>>> Hernán, I agree with Nahuel. Shouldn't it be Option-Backspace in any
>>> other Mac editor? Doesn't it work like that with Nahuel's change?
>>>
>>> To me, Nahuel's code looks OK. Maybe we'd add the same to
>>> #forwardDelete:, as in Windows and Linux, ctrl-Delete deletes the word to
>>> the next of the cursor.
>>>
>>> Cheers,
>>>
>>> --
>>> Juan Vuletichwww.cuis-smalltalk.orghttps://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Devhttps://github.com/jvuletichhttps://www.linkedin.com/in/juan-vuletich-75611b3
>>> @JuanVuletich
>>>
>>>
>>>
>>> El jue., 16 de may. de 2019 a la(s) 18:07, Hernan Wilkinson (
>>> hernan.wilkinson at 10pines.com) escribió:
>>>
>>>> I like it!
>>>> Did you get this behavior from other editor? I mean, why did you think
>>>> about it?
>>>> Do other people find it useful? (Juan?)
>>>>
>>>> BTW, in mac cmd+backspace does not work... To make it work I had to
>>>> replace "aKeyboardEvent rawMacOptionKeyPressed or: [ aKeyboardEvent
>>>> controlKeyPressed ]" with: "aKeyboardEvent anyModifierKeyPressed" (Juan, I
>>>> need you help here too :-) )
>>>>
>>>> Hernan.
>>>>
>>>> On Wed, May 15, 2019 at 8:39 PM Nahuel Garbezza via Cuis-dev <
>>>> cuis-dev at lists.cuis.st> wrote:
>>>>
>>>>> Hi!
>>>>>
>>>>> Attached is a changeset for deleting a word backwards using ctrl/alt +
>>>>> backspace, depending on the operating system.
>>>>>
>>>>> let me know your thoughts
>>>>>
>>>>> Nahuel
>>>>> --
>>>>> Cuis-dev mailing list
>>>>> Cuis-dev at lists.cuis.st
>>>>> https://lists.cuis.st/mailman/listinfo/cuis-dev
>>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> *Hernán Wilkinson Agile Software Development, Teaching & Coaching*
>>>> *Phone: +54-011*-4893-2057
>>>> *Twitter: @HernanWilkinson*
>>>> *site: http://www.10Pines.com <http://www.10pines.com/>*
>>>> Address: Alem 896, Floor 6, Buenos Aires, Argentina
>>>>
>>>
>>>
>>>
>>
>> --
>>
>> *Hernán WilkinsonAgile Software Development, Teaching & Coaching*
>> *Phone: +54-011*-4893-2057
>> *Twitter: @HernanWilkinson*
>> *site: http://www.10Pines.com <http://www.10pines.com/>*
>> Address: Alem 896, Floor 6, Buenos Aires, Argentina
>>
>
>
> --
>
> *Hernán WilkinsonAgile Software Development, Teaching & Coaching*
> *Phone: +54-011*-4893-2057
> *Twitter: @HernanWilkinson*
> *site: http://www.10Pines.com <http://www.10pines.com/>*
> Address: Alem 896, Floor 6, Buenos Aires, Argentina
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20190519/d2ccaa2c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 3755-CuisCore-NahuelGarbezza-2019May19-19h59m-RNG.1.cs.st
Type: application/octet-stream
Size: 4727 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20190519/d2ccaa2c/attachment.obj>


More information about the Cuis-dev mailing list