int Latex(Buffer const *, std::ostream &,
bool fragile, bool free_spc) const;
///
- int Ascii(Buffer const *, std::ostream &) const;
+ int Ascii(Buffer const *, std::ostream &, int linelen) const;
///
int Linuxdoc(Buffer const *, std::ostream &) const;
///
///
void Validate(LaTeXFeatures &) const;
///
- Inset * Clone() const;
+ Inset * Clone(Buffer const &) const;
///
Inset::Code LyxCode() const { return Inset::MATH_CODE; }
///
- LyXFont ConvertFont(LyXFont font) {
+ LyXFont const ConvertFont(LyXFont const & f) const {
// We have already discussed what was here
+ LyXFont font(f);
font.setLatex(LyXFont::OFF);
return font;
}
/// what appears in the minibuffer when opening
- char const * EditMessage() const;
+ string const EditMessage() const;
///
void Edit(BufferView *, int x, int y, unsigned int button);
///
///
void ToggleInsetCursor(BufferView *);
///
- void ShowInsetCursor(BufferView *);
+ void ShowInsetCursor(BufferView *, bool show=true);
///
void HideInsetCursor(BufferView *);
///
virtual RESULT LocalDispatch(BufferView *, int, string const &);
///
- void InsertSymbol(BufferView *, char const *);
+ void InsertSymbol(BufferView *, string const &);
///
bool SetNumber(bool);
///
- std::vector<string> getLabelList() const;
+ std::vector<string> const getLabelList() const;
protected:
///
///
string label;
};
-
-
-// If a mathinset exist at cursor pos, just lock it.
-// Otherwise create a new one, and lock it.
-bool OpenMathInset(Buffer *);
-
#endif