/// target pos when we enter the inset from the right by pressing "Left"
bool idxLast(LCursor &) const;
- /// where should we go if we press home?
- bool idxHome(LCursor &) const;
- /// where should we go if we press end?
- bool idxEnd(LCursor &) const;
-
/// number of cells currently governed by us
idx_type nargs() const;
/// access to the lock
protected:
///
- DispatchResult priv_dispatch(LCursor & cur, FuncRequest const & cmd);
+ void priv_dispatch(LCursor & cur, FuncRequest const & cmd);
///
void handleFont(LCursor & cur,
std::string const & arg, std::string const & font);
///
void handleFont2(LCursor & cur, std::string const & arg);
+ ///
+ bool interpret(LCursor & cur, char c);
+ ///
+ bool script(LCursor & cur, bool);
+
private:
/// lfun handler
- DispatchResult lfunMousePress(LCursor &, FuncRequest const &);
+ void lfunMousePress(LCursor &, FuncRequest const &);
///
- DispatchResult lfunMouseRelease(LCursor &, FuncRequest const &);
+ void lfunMouseRelease(LCursor &, FuncRequest const &);
///
- DispatchResult lfunMouseMotion(LCursor &, FuncRequest const &);
+ void lfunMouseMotion(LCursor &, FuncRequest const &);
protected:
/// we store the cells in a vector