[haiku-bugs] Re: [Haiku] #7674: Add backward-kill-word to BTextView

  • From: "GeneralMaximus" <trac@xxxxxxxxxxxx>
  • Date: Fri, 10 Jun 2011 14:30:54 -0000

#7674: Add backward-kill-word to BTextView
----------------------------------+-------------------
   Reporter:  GeneralMaximus      |      Owner:  axeld
       Type:  enhancement         |     Status:  new
   Priority:  normal              |  Milestone:  R1
  Component:  Kits/Interface Kit  |    Version:
 Resolution:                      |   Keywords:
 Blocked By:                      |   Blocking:
Has a Patch:  1                   |   Platform:  All
----------------------------------+-------------------

Comment (by GeneralMaximus):

 I'd rather have Option+Backspace instead of Ctrl+Backspace. Here's why:
 AFAIK, currently you can't send Meta to the Haiku terminal. If we set
 Option as the Meta key in Terminal, we can use all the awesome readline
 shortcuts mapped to Meta (see: http://www.bigsmoke.us/readline/shortcuts).
 We can then add some of the same readline shortcuts to BTextView and get
 limited readline-style editing in all GUI apps. If you spend a lot of time
 in readline-powered tools, this saves you a context switch when you
 Ctrl+Tab to Vision or WebPositive. Mac OS X already does this with all
 Cocoa text controls.

 Since this is something I'd really like to see, I'm willing to send in
 more patches. Only if this is desirable, of course.

 That said, the Ctrl+Bkspc => Del mapping in the US keymap is not very
 useful. Most US keyboards have the Del key either physically, or at least
 through the Fn key.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/7674#comment:4>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: