The bind files are specific to the main LyX window and not to the individual
dialogs. The short cuts to the dialogs are hardcoded into the source (well
sort-of. They can be changed by the .po files).
The file you're looking for is
src/frontends/xforms/form_search.C
Relevant code:
char const * const dummy = N_(" >|#F^s");
fdui->findnext = obj = fl_add_button(FL_NORMAL_BUTTON, 200, 80, 90, 30,
idex(_(dummy)));
fl_set_button_shortcut(obj, scex(_(dummy)), 1);
}
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
fl_set_object_gravity(obj, FL_SouthEast, FL_SouthEast);
fl_set_object_callback(obj, C_FormBaseInputCB, 0);
{
Basically, this says that the shortcut to the ">" button is either Alt-F or
Ctrl-s.
So, does Alt-F work for you?
Hope this helps your understanding at least. Might even help you track down
the problem!
Best wishes,
Angus
On Thursday 12 July 2001 17:38, Scott Otterson wrote:
> Peter,
>
> I'm pretty sure that my window manager isn't catching M-f and M-b (I'm using
> gnome/sawfish, and none of the shortcuts are set to those combinations).
Also,
> looking in lyx/bind, I see that none of the binding files have C-r set to a
find
> function. For example, xemacs.bin, which I am using, contains:
>
> #bind "C-r" "------"
>
> Also, some of them don't bind C-s to find-replace. For example cua.bind
binds
> it to buffer-write. What bind file are you using? Maybe it isn't being
> distributed with 1.1.6.
>
> Does anyone know the name of the function that clicks those forward/backward
> search arrows?
>
> Or, are there specific forward/backward search functions that search only,
> without popping up the find-replace window? Knowing this, maybe my fix is
to
> modify the bind file.
>
> Thanks,
>
> Scott
>
> Peter Suetterlin wrote:
> >
> > Scott Otterson wrote:
> >
> > > The shortcuts for the search box's forward and backward search arrows
> > > are supposed to be M-f and M-b. But, in Lyx 1.1.6fix2, they move the
> > > cursor back and forth in the search text window, rather than
> > > activating forward or backward searching.
> >
> > I cannot reproduce that. The keys do work here (btw you can also use
> > C-s and C-r for forward and backward search).
> >
> > Are those keystrokes caught by your window manager?
> > (I tried lyx -dbg 4 but that doesn't report keystrokes that go to the
> > dialog fields :-( )
> >
> > Pit
> >
> > --
> > Peter "Pit" Suetterlin http://www.uni-sw.gwdg.de/~pit
> > Universitaets-Sternwarte Goettingen
> > Tel.: +49 551 39-5048 [EMAIL PROTECTED]