}
-dispatch_result MathGridInset::dispatch
- (FuncRequest const & cmd, idx_type & idx, pos_type & pos)
+dispatch_result MathGridInset::priv_dispatch(FuncRequest const & cmd,
+ idx_type & idx, pos_type & pos)
{
switch (cmd.action) {
/// identifies GridInset
MathGridInset const * asGridInset() const { return this; }
/// local dispatcher
- dispatch_result dispatch(FuncRequest const & cmd, idx_type & idx, pos_type & pos);
+ dispatch_result priv_dispatch(FuncRequest const & cmd,
+ idx_type & idx, pos_type & pos);
///
col_type ncols() const;
void MathHullInset::mutate(string const & newtype)
{
- //lyxerr << "mutating from '" << type_ << "' to '" << newtype << "'" << endl;
+ lyxerr << "mutating from '" << type_ << "' to '" << newtype << "'" << endl;
// we try to move along the chain
// none <-> simple <-> equation <-> eqnarray
}
-dispatch_result MathHullInset::dispatch
+dispatch_result MathHullInset::priv_dispatch
(FuncRequest const & cmd, idx_type & idx, pos_type & pos)
{
switch (cmd.action) {
return DISPATCHED_POP;
case LFUN_MATH_MUTATE: {
+ lyxerr << "Hull: MUTATE: " << cmd.argument << endl;
row_type r = row(idx);
col_type c = col(idx);
mutate(cmd.argument);
///
bool ams() const;
/// local dispatcher
- dispatch_result dispatch(FuncRequest const & cmd, idx_type & idx, pos_type & pos);
+ dispatch_result priv_dispatch(FuncRequest const & cmd,
+ idx_type & idx, pos_type & pos);
/// Appends \c list with all labels found within this inset.
void getLabelList(Buffer const &,
std::vector<std::string> & list) const;
}
-dispatch_result MathNestInset::dispatch
- (FuncRequest const & cmd, idx_type & idx, pos_type & pos)
+dispatch_result MathNestInset::priv_dispatch(FuncRequest const & cmd,
+ idx_type & idx, pos_type & pos)
{
BufferView * bv = cmd.view();
case LFUN_MOUSE_PRESS:
if (cmd.button() == mouse_button::button2)
- return dispatch(FuncRequest(bv, LFUN_PASTESELECTION), idx, pos);
+ return priv_dispatch(FuncRequest(bv, LFUN_PASTESELECTION), idx, pos);
return UNDISPATCHED;
default:
void normalize(NormalStream & os) const;
/// local dispatcher
- dispatch_result
- dispatch(FuncRequest const & cmd, idx_type & idx, pos_type & pos);
+ dispatch_result priv_dispatch(FuncRequest const & cmd,
+ idx_type & idx, pos_type & pos);
protected:
/// we store the cells in a vector