git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4419 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Levon 2002-06-18 17:31:41 +00:00
parent 4405aec901
commit 5b922b5e50
3 changed files with 17 additions and 4 deletions

View File

@ -1,8 +1,14 @@
2002-06-18 John Levon <moz@compsoc.man.ac.uk>
* FormSearch.h:
* FormSearch.C: focus and select search string on open (bug #77)
2002-06-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
* changes to let the function setup happen in frontends
* guiapi.C: new file
* guiapi.C: new file
2002-06-16 <alstrup@diku.dk>
* xscreen.C (draw): After drawing, we wait for X with XSync..

View File

@ -37,6 +37,13 @@ void FormSearch::build()
}
void FormSearch::update()
{
fl_set_input_selected(dialog_->input_search, true);
fl_set_focus_object(dialog_->form, dialog_->input_search);
}
ButtonPolicy::SMInput FormSearch::input(FL_OBJECT * obj, long)
{
if (obj == dialog_->button_findnext ||

View File

@ -31,8 +31,8 @@ private:
virtual void apply() {}
/// Build the dialog
virtual void build();
/// not needed.
virtual void update() {}
/// update the dialog
virtual void update();
/// Filter the inputs
virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);