#include <boost/smart_ptr.hpp>
#include "BufferView.h"
-#include "UpdateInset.h"
#include "commandtags.h"
#include "frontends/Timeout.h"
#include "WorkArea.h"
void update();
//
void update(LyXText *, BufferView::UpdateCodes);
- /// Update pixmap of screen
+ /// Update pixmap of screen
void updateScreen();
///
void workAreaExpose();
* If hit, the coordinates are changed relative to the inset.
*/
Inset * checkInsetHit(LyXText *, int & x, int & y);
- ///
+ ///
int scrollUp(long time);
///
int scrollDown(long time);
///
void tripleClick(int x, int y, unsigned int button);
///
+ void selectionRequested();
+ ///
+ void selectionLost();
+ ///
void enterView();
///
void leaveView();
* if one exists. If so, the inset is returned, and the co-ordinates are
* made relative. Otherwise, 0 is returned.
*/
- Inset * checkInset(LyXText const & text, LyXCursor const & cursor, int & x, int & y) const;
+ Inset * checkInset(LyXText const & text, LyXCursor const & cursor, int & x, int & y) const;
///
friend class BufferView;
/// open and lock an updatable inset
bool open_new_inset(UpdatableInset * new_inset, bool behind = false);
///
- void protectedBlank(LyXText * lt);
- ///
void specialChar(InsetSpecialChar::Kind);
///
void newline();
///
WorkArea workarea_;
///
- UpdateInset updatelist;
- ///
void pasteClipboard(bool asPara);
///
void stuffClipboard(string const &) const;
///
std::vector<Position> saved_positions;
///
- void moveCursorUpdate(bool selecting);
- /// Get next inset of this class from current cursor position
+ void moveCursorUpdate(bool selecting, bool fitcur = true);
+ /// Get next inset of this class from current cursor position
Inset * getInsetByCode(Inset::Code code);
///
void MenuInsertLyXFile(string const & filen);