#include "gettext.h"
#include "lyxfont.h"
#include "lyxlex.h"
+#include "commandtags.h"
class BufferView;
class Buffer;
///
CAPTION_CODE,
///
- MATHMACRO_CODE
+ MATHMACRO_CODE,
+ ///
+ ERROR_CODE,
+ ///
+ CITE_CODE
};
///
// because we could have fake text insets and have to call this
// inside them without cast!!!
///
- virtual LyXText * getLyXText(BufferView *) 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; }
///