- ///
- void workAreaMotionNotify(int x, int y, unsigned int state);
- ///
- void workAreaButtonPress(int x, int y, unsigned int button);
- ///
- void workAreaButtonRelease(int x, int y, unsigned int button);
- ///
- void workAreaSelectionNotify(Window win, XEvent * event);
- ///
- void doubleClick(int x, int y, unsigned int button);
- ///
- void trippleClick(int x, int y, unsigned int button);
- ///
- LyXView * owner_;
- ///
- Buffer * buffer_;
- ///
- LyXScreen * screen;
- ///
- long current_scrollbar_value;
- ///
- bool lyx_focus;
- ///
- bool work_area_focus;
- ///
- FL_OBJECT * figinset_canvas;
- ///
- FL_OBJECT * timer_cursor;
- ///
- BackStack backstack;
- ///
- int last_click_x, last_click_y;
- ///
- WorkArea * workarea;
- ///
- UpdateInset updatelist;
-public:
- ///
- void updateInset(Inset *, bool);
- ///
- void pushIntoUpdateList(Inset * i) {
- updatelist.push(i);
- }
+ /// Set the current locking inset
+ void theLockingInset(UpdatableInset * inset);
+
+ /// return the lyxtext containing this inset
+ LyXText * getParentText(Inset * inset) const;
+
+ /**
+ * Change all insets with the given code's contents to a new
+ * string. May only be used with InsetCommand-derived insets
+ * Returns true if a screen update is needed.
+ */
+ bool ChangeInsets(Inset::Code code, string const & from,
+ string const & to);
+
+
+ struct Pimpl;
+ friend struct BufferView::Pimpl;
+
+ Pimpl * pimpl_;