X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FInsetList.h;h=708eab86fa0377ca7bd56e6bfc10ebfb820594c3;hb=dba1e40b520f67faeb49759b7cec9ec4f981f9a1;hp=dcaa28eabce6ee073c00367b53032406c12e51be;hpb=f1cba8ff64b369792fd49f5ddf90e8126ab476ac;p=lyx.git diff --git a/src/InsetList.h b/src/InsetList.h index dcaa28eabc..708eab86fa 100644 --- a/src/InsetList.h +++ b/src/InsetList.h @@ -36,19 +36,21 @@ public: InsetList(InsetList const &, pos_type beg, pos_type end); /// void setBuffer(Buffer &); + /// + void resetBuffer(); /// - class InsetTable { + class Element { public: /// - InsetTable(pos_type p, Inset * i) : pos(p), inset(i) {} + Element(pos_type p, Inset * i) : pos(p), inset(i) {} /// pos_type pos; /// Inset * inset; }; /// - typedef std::vector List; + typedef std::vector List; /// typedef List::iterator iterator; /// @@ -91,7 +93,7 @@ public: pos_type startpos = 0 ///< start position for the search. ) const; - /// count occurences of of an \c Inset type. + /// count occurrences of an \c Inset type. /// \return the number of found inset(s). int count( InsetCode code, ///< Code of inset type to count.