Thread (4 messages) 4 messages, 2 authors, 2020-05-21

Re: [PATCH v3] git-gui: Handle Ctrl + BS/Del in the commit msg

From: Pratyush Yadav <hidden>
Date: 2020-05-21 13:01:02

On 12/05/20 12:28PM, Ismael Luceno wrote:
From: Ismael Luceno <redacted>

- Control+BackSpace: Delete word to the left of the cursor.
- Control+Delete   : Delete word to the right of the cursor.

Originally introduced by BRIEF and Turbo Vision between 1985 and 1992,
they were adopted by most CUA-Compliant UIs, including those of: OS/2,
Windows, Mac OS, Qt, GTK, Open/Libre Office, Gecko, and GNU Emacs.

In both cases Tk already implements the functionality bound to other key
combination, so we use that.

Graphical examples:

Deleting to the left:
        v------ pointer
X_WORD____X
  ^-----^------ selection

Deleting to the right:
  v--------- pointer
X_WORD_X
  ^--^------ selection

Signed-off-by: Ismael Luceno <redacted>
Merged to git-gui/master.
 

-- 
Regards,
Pratyush Yadav
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help