#7674: Add backward-kill-word to BTextView --------------------------------+--------------------- Reporter: GeneralMaximus | Owner: axeld Type: enhancement | Status: new Priority: normal | Milestone: R1 Component: Kits/Interface Kit | Version: Keywords: | Blocked By: Blocking: | Has a Patch: 0 Platform: All | --------------------------------+--------------------- A backward-kill-word shortcut in BTextView would be a welcome addition. The current method of killing the previous word by holding Shift, then pressing Ctrl+Left to select the word, and finally pressing Backspace is cumbersome. Since Ctrl+Backspace is already mapped to Delete, the attached patch makes Option+Backspace kill the previous word. But there's a consistency issue here: moving between words is done using Ctrl+Left and Ctrl+Right so, logically, Ctrl+Backspace should kill the previous word. Instead, I've attached an additional patch that changes Ctrl+Left and Ctrl+Right to Option+Left and Option+Right. Now all text movement shortcuts are accessed through the Option key. I was not sure if this was a good idea, so I made a separate patch. Description of patches: 1. backward-kill-word.diff: makes Option+Backspace kill the previous word. 2. backward-kill-word-and-backward-word.diff: makes Option+Backspace kill the previous word. Additionally, Option+Left Arrow and Option+Right Arrow are used to move back or forward by words. This is a change from the previous way of moving between words, which was Ctrl+Left Arrow and Ctrl+Right Arrow. -- Ticket URL: <http://dev.haiku-os.org/ticket/7674> Haiku <http://dev.haiku-os.org> Haiku - the operating system.