- ///
- LyXText * getParentText(Inset * inset) const;
- ///
- Language const * getParentLanguage(Inset * inset) const;
- ///
- int workWidth() const;
- ///
- UpdatableInset * theLockingInset() const;
- ///
- void theLockingInset(UpdatableInset * inset);
- ///
- void updateInset(Inset * inset, bool mark_dirty);
- ///
- int slx;
- ///
- int sly;
- ///
- void insetUnlock();
-#if 0
- ///
- void insetSleep();
- ///
- void insetWakeup();
-#endif
- ///
- void replaceWord(string const & replacestring);
- ///
- void endOfSpellCheck();
- ///
- void selectLastWord();
- ///
- string const nextWord(float & value);
- ///
- bool gotoLabel(string const & label);
- ///
- void paste();
- ///
- void cut(bool realcut = true);
- ///
- void copy();
- ///
- void pasteEnvironment();
- ///
- void copyEnvironment();
- ///
- void menuUndo();
- ///
- void menuRedo();
- /// removes all autodeletable insets
- bool removeAutoInsets();
- ///
- void insertErrors(TeXErrors & terr);
- ///
+
+ /// update paragraph dialogs
+ void updateParagraphDialog();
+
+ /// return the current encoding at the cursor
+ Encoding const * getEncoding() const;
+
+ /// return the parent language of the given inset
+ Language const * getParentLanguage(InsetOld * inset) const;
+
+ /// replace the currently selected word
+ void replaceWord(std::string const & replacestring);
+ /// simple replacing. Use the font of the first selected character
+ void replaceSelectionWithString(std::string const & str);
+
+ /// move cursor to the named label
+ void gotoLabel(std::string const & label);
+
+ /// undo last action
+ void undo();
+ /// redo last action
+ void redo();
+
+ /// get the stored error list
+ ErrorList const & getErrorList() const;
+ /// show the error list to the user
+ void showErrorList(std::string const &) const;
+ /// set the cursor based on the given TeX source row