class Buffer;
class LyXScreen;
class WorkArea;
+class Language;
///
class BufferView : public noncopyable {
///
void gotoError();
///
- void cursorPrevious();
+ void cursorPrevious(LyXText *);
///
- void cursorNext();
+ void cursorNext(LyXText *);
///
bool available() const;
///
*/
LyXText * text;
///
+ LyXText * getLyXText() const;
+ ///
+ LyXText * getParentText(Inset * inset) const;
+ ///
+ Language const * getParentLanguage(Inset * inset) const;
+ ///
int workWidth() const;
///
UpdatableInset * theLockingInset() const;
bool insertInset(Inset * inset, string const & lout = string(),
bool no_table = false);
/// open and lock an updatable inset
- bool open_new_inset(UpdatableInset * new_inset);
+ bool open_new_inset(UpdatableInset * new_inset, bool behind = false);
/** Inserts a lyx file at cursor position.
@return #false# if it fails.
*/
///
void pushIntoUpdateList(Inset * i);
+#if 0
///
void workAreaExpose();
///
void enterView();
///
void leaveView();
+#endif
///
bool ChangeRefs(string const & from, string const & to);
///
+ bool ChangeRefsIfUnique(string const & from, string const & to);
+ ///
void pasteClipboard(bool asPara);
///
void stuffClipboard(string const &) const;