mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-18 21:45:24 +00:00
highlight search string on opening the dialog (bug 77)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH-1_2_X@4414 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
a6d6ffad31
commit
2d876379bd
@ -1,3 +1,9 @@
|
||||
2002-06-18 John Levon <moz@compsoc.man.ac.uk>
|
||||
|
||||
* FormSearch.h:
|
||||
* FormSearch.C: highlight the search on opening
|
||||
the dialog (bug 77)
|
||||
|
||||
2002-06-17 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* Toolbar_pimpl.[Ch] (setTooltips): new method. A quick and dirty hack
|
||||
|
@ -36,6 +36,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 ||
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user