]> git.lyx.org Git - lyx.git/blobdiff - src/Text.h
restore comment about boost::shared_ptr and dtor.
[lyx.git] / src / Text.h
index 0f8ba1c7f0a7bc1edbd3f99f72fe82dd8dd117c6..027fd0e8043880cf3347fd2444982e9ca68f81dc 100644 (file)
@@ -48,9 +48,9 @@ public:
        bool empty() const;
 
        ///
-       FontInfo getLayoutFont(Buffer const & buffer, pit_type pit) const;
+       FontInfo layoutFont(Buffer const & buffer, pit_type pit) const;
        ///
-       FontInfo getLabelFont(Buffer const & buffer,
+       FontInfo labelFont(Buffer const & buffer,
                Paragraph const & par) const;
        /** Set font of character at position \p pos in paragraph \p pit.
         *  Must not be called if \p pos denotes an inset with text contents,
@@ -134,7 +134,7 @@ public:
         *  @param from return here the start of the word
         *  @param to return here the end of the word
         */
-       void getWord(CursorSlice & from, CursorSlice & to, word_location const);
+       void getWord(CursorSlice & from, CursorSlice & to, word_location const) const;
        /// just selects the word the cursor is in
        void selectWord(Cursor & cur, word_location loc);
 
@@ -319,4 +319,4 @@ private:
 
 } // namespace lyx
 
-#endif // LYXTEXT_H
+#endif // TEXT_H