Tommaso Cucinotta wrote:
>>> 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

i'm for this one

> -) 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)
>

the problem you encounter now is already present for another menu entries,
and i have no clue how to generally solve it.

pavel

Reply via email to