]> git.lyx.org Git - lyx.git/blobdiff - src/paragraph_funcs.h
InsetBibitem.cpp: fix bibitemWidest.
[lyx.git] / src / paragraph_funcs.h
index ac34b9a2a7b39e7bc5aaa4cee9899ae3784b9612..fa9aba20786f2c4794fbb1418de7cb4a5a50753d 100644 (file)
@@ -4,7 +4,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author Lars Gullik Bjønnes
+ * \author Lars Gullik Bjønnes
  *
  * Full author contact details are available in file CREDITS.
  */
@@ -27,11 +27,9 @@ class ParagraphList;
 /**
  * This breaks a paragraph at the specified position.
  * The new paragraph will:
- * - Decrease depth by one (or chenge layout to default layout when 
+ * - Decrease depth by one (or change 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.
  */
 void breakParagraph(BufferParams const & bparams,
                    ParagraphList & paragraphs,
@@ -72,12 +70,11 @@ int getEndLabel(pit_type par, ParagraphList const & plist);
  */
 Font const outerFont(pit_type par_offset, ParagraphList const & pars);
 
-/// return the number of InsetOptArg in a paragraph
-int numberOfOptArgs(Paragraph const & par);
-
 /// accept the changes within the complete ParagraphList
 void acceptChanges(ParagraphList & pars, BufferParams const & bparams);
 
+/// return true if the whole ParagraphList is deleted
+bool isFullyDeleted(ParagraphList const & pars);
 
 } // namespace lyx