]> git.lyx.org Git - lyx.git/blobdiff - src/paragraph_funcs.h
adjust
[lyx.git] / src / paragraph_funcs.h
index 59786081cbafd90e9d872a7a090855b60d93976c..ac34b9a2a7b39e7bc5aaa4cee9899ae3784b9612 100644 (file)
@@ -27,9 +27,9 @@ class ParagraphList;
 /**
  * This breaks a paragraph at the specified position.
  * The new paragraph will:
- * get the default layout, when flag == 0
- * will inherit the existing one, except for depth, when flag == 1
- * will inherit the existing one, including depth, when flag == 2
+ * - Decrease depth by one (or chenge layout to default layout when 
+ *    keep_layout == false  
+ * - keep current depth and layout when keep_layout == true
  * Be aware that the old or new paragraph does not contain any rows
  * after this.
  */
@@ -37,7 +37,7 @@ void breakParagraph(BufferParams const & bparams,
                    ParagraphList & paragraphs,
                    pit_type par,
                    pos_type pos,
-                   int flag);
+                   bool keep_layout);
 
 ///
 void breakParagraphConservative(BufferParams const & bparams,