[Cuis-dev] [ChangeSet] Delete words with ctrl/alt + backspace on editors
Juan Vuletich
juan at jvuletich.org
Tue May 21 08:27:39 PDT 2019
On 5/19/2019 8:13 PM, Nahuel Garbezza wrote:
> Thank you!
>
> Here's the changeset for deleting forward :)
At GitHub now. Thanks!
>
> 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.
Isn't Smalltalk fun?
>
> Nahuel
>
> El dom., 19 de may. de 2019 a la(s) 18:08, Hernan Wilkinson
> (hernan.wilkinson at 10pines.com <mailto: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
> <mailto: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 <mailto: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 Vuletich
> www.cuis-smalltalk.org <http://www.cuis-smalltalk.org>
> https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev
> https://github.com/jvuletich
> https://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
>> <mailto: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
>> <mailto: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
>> <mailto: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 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 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
>
--
Juan Vuletich
www.cuis-smalltalk.org
https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev
https://github.com/jvuletich
https://www.linkedin.com/in/juan-vuletich-75611b3
@JuanVuletich
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20190521/d1703d74/attachment-0001.html>
More information about the Cuis-dev
mailing list