#include "buffer.h"
#include "BufferView.h"
+#include "cursor.h"
#include "dispatchresult.h"
#include "funcrequest.h"
#include "gettext.h"
DispatchResult
-InsetVSpace::priv_dispatch(BufferView & bv, FuncRequest const & cmd)
+InsetVSpace::priv_dispatch(LCursor & cur, FuncRequest const & cmd)
{
switch (cmd.action) {
}
case LFUN_MOUSE_PRESS:
- InsetVSpaceMailer(*this).showDialog(&bv);
+ InsetVSpaceMailer(*this).showDialog(&cur.bv());
return DispatchResult(true, true);
default:
- return InsetOld::priv_dispatch(bv, cmd);
+ return InsetOld::priv_dispatch(cur, cmd);
}
}