#include "gettext.h"
#include "lyxfont.h"
#include "lyxlex.h"
+#include "commandtags.h"
class BufferView;
class Buffer;
// because we could have fake text insets and have to call this
// inside them without cast!!!
///
- virtual LyXText * getLyXText(BufferView const *) const;
+ virtual LyXText * getLyXText(BufferView const *, bool const recursive=false) const;
///
virtual void deleteLyXText(BufferView *, bool = true) const {}
///
bool /*lr*/ = false)
{ return false; }
/// An updatable inset could handle lyx editing commands
- virtual RESULT LocalDispatch(BufferView *, int, string const &);
+ virtual RESULT LocalDispatch(BufferView *, kb_action, string const &);
///
virtual bool isCursorVisible() const { return cursor_visible; }
///
- virtual int getMaxWidth(Painter & pain, UpdatableInset const *) const;
+ virtual int getMaxWidth(BufferView * bv, UpdatableInset const *) const;
///
int scroll() const { return scx; }
+ ///
+ virtual bool ShowInsetDialog(BufferView *) const { return false; }
protected:
///