]> git.lyx.org Git - lyx.git/blobdiff - src/paragraph_funcs.h
fix crash in mathhullinset
[lyx.git] / src / paragraph_funcs.h
index bce1f343a54751876e148df7cac6fb5aaa468c97..412c7aab1c28f62c54d03d7f97b819acb8067de0 100644 (file)
@@ -61,13 +61,14 @@ LyXFont const outerFont(lyx::par_type par, ParagraphList const & plist);
 /// find outermost paragraph containing an inset
 lyx::par_type outerPar(Buffer const & buf, InsetBase const * inset);
 
-/// find owning paragraph containing an inset
-Paragraph const & ownerPar(Buffer const & buf, InsetBase const * inset);
-
-/// return the range of pars [beg, end[ owning the range of y [ystart, yend] 
+/// return the range of pars [beg, end[ owning the range of y [ystart, yend]
 void getParsInRange(ParagraphList & plist,
                                int ystart, int yend,
                                lyx::par_type & beg,
                                lyx::par_type & end);
 
+/// return the number of InsetOptArg in a paragraph
+int numberOfOptArgs(Paragraph const & par);
+
+
 #endif // PARAGRAPH_FUNCS_H