]> git.lyx.org Git - lyx.git/blobdiff - src/ParagraphList.h
Account for old versions of Pygments
[lyx.git] / src / ParagraphList.h
index cc81e9df64d808023f9ba55fa4e3cd0819d21183..a57deb4eea7b2a7e8582ef7cdedeb1deb62176f0 100644 (file)
 
 namespace lyx {
 
-/// Container for all kind of Paragraphs used in Lyx.
-typedef RandomAccessList<Paragraph> ParagraphList;
-
+/// Container for all kind of Paragraphs used in LyX.
+class ParagraphList : public RandomAccessList<Paragraph> {
+public:
+       ///
+       ParagraphList() {}
+       ///
+       template<class InputIterator>
+       ParagraphList(InputIterator first, InputIterator last)
+               : RandomAccessList<Paragraph>(first, last)
+       {}
+};
 
 } // namespace lyx