#include "LString.h"
#include "undo.h"
#include "commandtags.h"
+#include "insets/inset.h"
#include <boost/utility.hpp>
class LyXView;
class TeXErrors;
class Buffer;
class LyXScreen;
-class WorkArea;
class Language;
+class Painter;
+class UpdatableInset;
///
class BufferView : boost::noncopyable {
///
void redraw();
///
- void fitCursor(LyXText *);
+ void fitCursor();
///
void update();
//
///
int resizeCurrentBuffer();
///
- void gotoInset(std::vector<Inset::Code> const & codes,
- bool same_content);
- ///
- void gotoInset(Inset::Code codes, bool same_content);
- ///
void cursorPrevious(LyXText *);
///
void cursorNext(LyXText *);
///
void updateInset(Inset * inset, bool mark_dirty);
///
- bool inset_slept;
- ///
int slx;
///
int sly;
///
string const nextWord(float & value);
///
- void insertCorrectQuote();
- ///
bool gotoLabel(string const & label);
///
void paste();
///
- void cut();
+ void cut(bool realcut = true);
///
void copy();
///
Placie it in a layout of lout,
if no_table make sure that it doesn't end up in a table.
*/
- bool insertInset(Inset * inset, string const & lout = string(),
- bool no_table = false);
+ //bool insertInset(Inset * inset, string const & lout = string(),
+ // bool no_table = false);
+ bool insertInset(Inset * inset, string const & lout = string());
/** Inserts a lyx file at cursor position.
@return #false# if it fails.
*/