]> git.lyx.org Git - lyx.git/blobdiff - src/Paragraph.h
Move \PassOptionsToPackage before the first package loaded
[lyx.git] / src / Paragraph.h
index 297bff3847bcd7aa12d4c5ab8d27a8ae5d627a7a..3b5f2b81624b72ac968a529fda1c350ea05748ea 100644 (file)
@@ -262,6 +262,8 @@ public:
        /// is there a change within the given range (does not
        /// check contained paragraphs)
        bool isChanged(pos_type start, pos_type end) const;
+       /// Are there insets containing changes in the range?
+       bool hasChangedInsets(pos_type start, pos_type end) const;
        /// is there an unchanged char at the given pos ?
        bool isChanged(pos_type pos) const;
        /// is there a change in the paragraph ?
@@ -339,12 +341,8 @@ public:
        ///
        Font const & getFirstFontSettings(BufferParams const &) const;
 
-       /** Get fully instantiated font. If pos == -1, use the layout
-           font attached to this paragraph.
-           If pos == -2, use the label font of the layout attached here.
-           In all cases, the font is instantiated, i.e. does not have any
-           attributes with values FONT_INHERIT, FONT_IGNORE or
-           FONT_TOGGLE.
+       /** Get fully instantiated font, i.e., one that does not have any
+           attributes with values FONT_INHERIT, FONT_IGNORE or FONT_TOGGLE.
        */
        Font const getFont(BufferParams const &, pos_type pos,
                              Font const & outerfont) const;