+2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
+
+ * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
+ of the path
+
2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
* lyxlayout.[Ch]:
lyxerr << "trying to dispatch to main text " << bv_->text << endl;
DispatchResult res = bv_->text->dispatch(cmd);
lyxerr << " result: " << res.val() << endl;
+
+ if (!res.dispatched()) {
+ lyxerr << "trying to dispatch to bv " << bv_ << endl;
+ bool sucess = bv_->dispatch(cmd);
+ lyxerr << " result: " << sucess << endl;
+ res.dispatched(sucess);
+ }
+
return res;
}