Tommaso Cucinotta wrote: > The attached file > src/frontends/qt4/ui/SearchAdvUi.ui > hopefully looks like better.
thanks, commited. btw the now-disappeared replace-field means replacing was not working up to now, right? i also setup the following wiki for gathering the bugs around: http://wiki.lyx.org/Devel/Advsearch i'm forwarding this on dev-list since workareas are not my field :) > I feel some of the things that > are currently done in TabWorkArea::setCurrentWorkArea() > should actually be done in GuiWorkArea::setCurrentWorkArea() > instead (if one thinks of the possibility that a wa > is not tabbed), i.e., operations on buffer view, thus > I'm trying the code below, but I'm missing what actually "connects" > keyboard input to the current work area (it seems to be *not* > the GuiView::currentWorkArea(), unfortunately). Also, note that > hitting Alt-Tab twice reveals the new (search) wa connected to > keyboard input. > > void GuiView::setCurrentWorkArea(GuiWorkArea * wa) > { > LASSERT(wa, return); > lyxerr << "Setting current wa" << endl; > if (d.current_work_area_ != wa) { > d.current_work_area_ = wa; > for (int i = 0; i != d.splitter_->count(); ++i) { > if (d.tabWorkArea(i)->setCurrentWorkArea(wa)) > return; > } > lyxerr << "This is not a tabbed wa" << endl; > on_currentWorkAreaChanged(wa); > BufferView & bv = wa->bufferView(); > bv.cursor().fixIfBroken(); > bv.updateMetrics(); > wa->setUpdatesEnabled(true); > } > } > > T.