]> git.lyx.org Git - features.git/commit
Revert "toc bind: 'dialog-show' -> 'dialog-toggle' (#8388)"
authorScott Kostyshak <skostysh@lyx.org>
Thu, 21 May 2015 12:05:36 +0000 (08:05 -0400)
committerScott Kostyshak <skostysh@lyx.org>
Thu, 21 May 2015 12:05:36 +0000 (08:05 -0400)
commit613cd431c99f2784694a91999ff2486f83ac834e
tree2a3e3bda2d58943032110c911a08a6d52eb52d31
parent88609b3984073157270a5d935e4a8bf8012135a6
Revert "toc bind: 'dialog-show' -> 'dialog-toggle' (#8388)"

This reverts commit bede4d320bfff26fcbea396b516b92eb9595940c.

As JMarc notes [1], if we replaced show with toggle, we would lose some
functionality:

  There is one use that is not possible with this change (as I argued
  before), which is a fully keyboard-based navigation.

  With LyX 2.1, I can do C-M-o and navigate with cursor in the
  outline. I can do the same with advanced S&R. IN this sense,
  toggling is a step back IMO.

The plan now is to find another way to close the dialog (without
using toggle), such as having ESC close it or another key bind.

Ticket #8388 will stay closed because 'show' and 'toggle' are too
close for the cost of having two separate bindings.

[1] http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg187693.html
lib/bind/cua.bind
lib/bind/emacs.bind
lib/bind/mac.bind