]> git.lyx.org Git - lyx.git/blobdiff - src/Text.h
Added Liviu Andronic, and modified generate_contributions.py to match what was in...
[lyx.git] / src / Text.h
index 34977dab015b563e6ce725cfad17c8e7d172a57b..72f8b89902350ecbbc6efca746e98a8d0ff7b8c8 100644 (file)
@@ -128,7 +128,7 @@ public:
        Paragraph & getPar(pit_type pit) { return pars_[pit]; }
        // Returns the current font and depth as a message.
        /// FIXME: replace Cursor with DocIterator.
-       docstring currentState(Cursor & cur);
+       docstring currentState(Cursor const & cur) const;
 
        /** Find the word under \c from in the relative location
         *  defined by \c word_location.
@@ -254,7 +254,7 @@ public:
        double spacing(Buffer const & buffer, Paragraph const & par) const;
        /// make a suggestion for a label
        /// FIXME: replace Cursor with DocIterator.
-       docstring getPossibleLabel(Cursor & cur) const;
+       docstring getPossibleLabel(Cursor const & cur) const;
        /// is this paragraph right-to-left?
        bool isRTL(Buffer const &, Paragraph const & par) const;