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

Hernan Wilkinson hernan.wilkinson at 10pines.com
Sun May 19 14:03:00 PDT 2019


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20190519/9c847b19/attachment-0001.html>


More information about the Cuis-dev mailing list