]> git.lyx.org Git - lyx.git/blobdiff - src/CutAndPaste.h
More fixes to the autocollapsing of paragraphs.
[lyx.git] / src / CutAndPaste.h
index 173de5ce75c5384edb4b8a532b53fd7929aa8434..a139c5970e759ed198eda1dcd3d0cc453cd2dcbf 100644 (file)
@@ -25,7 +25,8 @@ public:
        ///
        static
        bool cutSelection(Paragraph * startpar, Paragraph ** endpar,
-                      int start, int & end, char tc, bool doclear = false);
+                      int start, int & end, char tc, bool doclear = false,
+                                         bool realcut = true);
        ///
        static
        bool copySelection(Paragraph * startpar, Paragraph * endpar,
@@ -42,9 +43,10 @@ public:
            return value is the number of wrong conversions
        */
        static
-       int SwitchLayoutsBetweenClasses(LyXTextClassList::size_type class1,
-                                    LyXTextClassList::size_type class2,
-                                    Paragraph * par);
+       int SwitchLayoutsBetweenClasses(lyx::textclass_type class1,
+                                       lyx::textclass_type class2,
+                                       Paragraph * par,
+                                       BufferParams const & bparams);
        ///
        static
        bool checkPastePossible(Paragraph *);