]> git.lyx.org Git - lyx.git/blobdiff - src/Paragraph.h
* Call metrics of the parameters with the correct font in MathMacros, for example
[lyx.git] / src / Paragraph.h
index 6e0657d0f2eeda474dff529dd32b2fab01495201..06318200c92aa0720111828ee95c270386b6b301 100644 (file)
@@ -304,12 +304,15 @@ public:
        ///
        void insertChar(pos_type pos, char_type c,
                        Font const &, Change const & change);
-       ///
-       void insertInset(pos_type pos, Inset * inset,
+       /// Insert \p inset at position \p pos with \p change traking status.
+       /// \return true if successful.
+       bool insertInset(pos_type pos, Inset * inset,
                         Change const & change);
-       ///
-       void insertInset(pos_type pos, Inset * inset,
-                        Font const &, Change const & change);
+       /// Insert \p inset at position \p pos with \p change traking status and
+       /// \p font.
+       /// \return true if successful.
+       bool insertInset(pos_type pos, Inset * inset,
+                        Font const & font, Change const & change);
        ///
        Inset * getInset(pos_type pos);
        ///