/// identifies NestInsets
InsetMathNest const * asNestInset() const { return this; }
/// get cursor position
- void cursorPos(CursorSlice const & sl, bool boundary, int & x, int & y) const;
+ void cursorPos(BufferView const & bv, CursorSlice const & sl,
+ bool boundary, int & x, int & y) const;
///
void edit(LCursor & cur, bool left);
///
/// writes [, name(), and args in []
void normalize(NormalStream & os) const;
///
- int latex(Buffer const &, std::ostream & os,
+ int latex(Buffer const &, lyx::odocstream & os,
OutputParams const & runparams) const;
protected:
/// interpret \p c and insert the result at the current position of
/// of \p cur. Return whether the cursor should stay in the formula.
- bool interpret(LCursor & cur, char c);
+ bool interpretChar(LCursor & cur, lyx::char_type c);
///
bool script(LCursor & cur, bool,
std::string const & save_selection = std::string());
/// interpret \p str and insert the result at the current position of
/// \p cur if it is something known. Return whether \p cur was
/// inserted.
- bool interpret(LCursor & cur, std::string const & str);
+ bool interpretString(LCursor & cur, std::string const & str);
private:
/// lfun handler