Pavel Sanda ha scritto:
[email protected] wrote:
Author: tommaso
Date: Wed Sep  9 00:11:13 2009
New Revision: 31354
URL: http://www.lyx.org/trac/changeset/31354

Log:
Fix visualization of keyboard short-cut in Edit menu for toggling Advanced Find 
and Replace panel.

Modified:
   lyx-devel/trunk/lib/bind/cua.bind

Modified: lyx-devel/trunk/lib/bind/cua.bind
==============================================================================
--- lyx-devel/trunk/lib/bind/cua.bind   Tue Sep  8 21:52:39 2009        (r31353)
+++ lyx-devel/trunk/lib/bind/cua.bind   Wed Sep  9 00:11:13 2009        (r31354)
@@ -70,7 +70,7 @@
 \bind "C-M-n"                        "command-sequence math-display; 
math-number-toggle;"
\bind "C-f" "dialog-show findreplace"
-\bind "C-S-f"                        "dialog-show findreplaceadv"
+\bind "C-S-f"                        "dialog-toggle findreplaceadv"
 \bind "C-i"                  "inset-toggle"                # 'i' for Inset
\bind "C-c" "copy"

this won't do thing you want, since now being inside document with already 
opened search dock
and presing C-S-f instead of geting focus into search dock, search dock 
disappear ;)
pavel
I've just noted exactly that while debugging the lyxfunc stuff ... argh ! So, we should choose: -) either the menu voice and C-S-f shortcut are for showing the panel, not toggling (and probably remove the toggle button from the menu) -) or the menu voice is for toggling and shortcut for showing, but no shortcut highlight will appear besides the toggle button -) or have both the menu for showing the pane, Edit->Find and Replace (advanced), with indication of the short-cut, and at the same time, another menu for toggling it, e.g., View->Toolbars->Find and Replace (advanced)

?!?

   T.

Reply via email to