]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.h
Change to use preffered calling of Boost.Function
[lyx.git] / src / BufferView.h
index e4ef2e55482c0a4af25fff4d838f41d887eece4d..5ffe593d67e95c9a4bd81312dcf1504f829cb310 100644 (file)
@@ -108,9 +108,6 @@ public:
        /// return the lyxtext we are using
        LyXText * getLyXText() const;
 
-       /// return the parent language of the given inset
-       Language const * getParentLanguage(InsetOld * inset) const;
-
        /// simple replacing. Use the font of the first selected character
        void replaceSelectionWithString(std::string const & str);
 
@@ -165,7 +162,11 @@ public:
        LyXText * text() const;
        ///
        void setCursor(ParIterator const & par, lyx::pos_type pos);
-       ///
+       /* Sets the selection. When \c backwards == false, set anchor
+        * to \c cur and cursor to \c cur + \c length. When \c
+        * backwards == true, set anchor to \c cur and cursor to \c
+        * cur + \c length.
+        */
        void putSelectionAt(DocIterator const & cur,
                int length, bool backwards);