]> git.lyx.org Git - features.git/commitdiff
Remove a couple of #includes from buffer.h
authorAngus Leeming <leeming@lyx.org>
Sat, 6 Sep 2003 18:38:02 +0000 (18:38 +0000)
committerAngus Leeming <leeming@lyx.org>
Sat, 6 Sep 2003 18:38:02 +0000 (18:38 +0000)
Reorder #includes in lots of files into some semblence of a coherent order.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7695 a592a061-630c-0410-9148-cb99ea01b6c8

23 files changed:
src/BufferView.C
src/BufferView_pimpl.C
src/ChangeLog
src/CutAndPaste.C
src/ParagraphParameters.C
src/buffer.C
src/buffer.h
src/buffer_funcs.C
src/bufferlist.C
src/bufferview_funcs.C
src/frontends/controllers/ControlDocument.C
src/insets/insetcaption.C
src/insets/insettext.C
src/lyx_cb.C
src/lyx_main.C
src/lyxfunc.C
src/paragraph.h
src/paragraph_funcs.C
src/tabular.C
src/text2.C
src/text3.C
src/toc.C
src/undo_funcs.C

index 6ef914396950ab781e053468174b146debc3c911..3c0e80f109c37d8c01abe5d42d4087c9b0b97a18 100644 (file)
 #include <config.h>
 
 #include "BufferView.h"
-#include "BufferView_pimpl.h"
-
-#include "WordLangTuple.h"
 #include "buffer.h"
 #include "bufferlist.h"
-#include "gettext.h"
+#include "BufferView_pimpl.h"
 #include "funcrequest.h"
+#include "gettext.h"
 #include "iterators.h"
 #include "language.h"
 #include "lyxtext.h"
-#include "undo_funcs.h"
 #include "paragraph.h"
 #include "paragraph_funcs.h"
+#include "undo_funcs.h"
+#include "WordLangTuple.h"
 
 #include "frontends/Alert.h"
 #include "frontends/Dialogs.h"
 #include "frontends/LyXView.h"
-#include "frontends/WorkArea.h"
 #include "frontends/screen.h"
+#include "frontends/WorkArea.h"
 
 #include "insets/insetcommand.h" // ChangeRefs
 #include "insets/updatableinset.h"
 
 #include "support/filetools.h"
-#include "support/lyxalgo.h" // lyx_count
 #include "support/LAssert.h"
+#include "support/lyxalgo.h" // lyx_count
 
 
 extern BufferList bufferlist;
index 851ac405b953e7ce58448aebfd2632a2938d9c5e..5d43f7d13c816bd1ffddc0234a8fbb1285e6921e 100644 (file)
@@ -19,9 +19,9 @@
 #include <config.h>
 
 #include "BufferView_pimpl.h"
-#include "bufferlist.h"
 #include "buffer.h"
 #include "buffer_funcs.h"
+#include "bufferlist.h"
 #include "debug.h"
 #include "factory.h"
 #include "FloatList.h"
 #include "frontends/WorkArea.h"
 #include "frontends/WorkAreaFactory.h"
 
-#include "mathed/formulabase.h"
-
 #include "graphics/Previews.h"
 
-#include "support/tostr.h"
+#include "mathed/formulabase.h"
+
 #include "support/filetools.h"
 #include "support/path_defines.h"
+#include "support/tostr.h"
 
 #include <boost/bind.hpp>
 
 
-
 using std::vector;
 using std::find_if;
 using std::find;
index 56c1a68dfbff0ba857e609b81c9326fae419037b..2066d2dea9bb222034c983a62b78fe07d06c16a1 100644 (file)
@@ -1,3 +1,26 @@
+2003-09-06  Angus Leeming  <leeming@lyx.org>
+
+       * buffer_funcs.C:
+       * buffer.h:
+       * bufferlist.C:
+       * BufferView.C:
+       * bufferview_funcs.C:
+       * BufferView_pimpl.C:
+       * CutAndPaste.C:
+       * lyx_cb.C:
+       * lyxfunc.C:
+       * paragraph.h:
+       * ParagraphParameters.C:
+       * tabular.C:
+       * text3.C:
+       * toc.C:
+       * undo_funcs.C:
+       * frontends/controllers/ControlDocument.C:
+       * insets/insetcaption.C: rearrange the #includes into some sort of
+       coherent order.
+
+       * buffer.h: remove #includes ErrorList.h, undo.h
+
 2003-09-06  Angus Leeming  <leeming@lyx.org>
 
        * support/types.h: add a 'depth_type' typedef, used to store the
index 738ea6229152a2e8c5f808570441fbafeae02c51..d85fe208a588fec9b933f279f6b3c61fc1b6a68d 100644 (file)
 #include <config.h>
 
 #include "CutAndPaste.h"
+
 #include "buffer.h"
-#include "ParagraphParameters.h"
+#include "errorlist.h"
+#include "gettext.h"
 #include "iterators.h"
 #include "lyxtextclasslist.h"
-#include "gettext.h"
 #include "paragraph.h"
 #include "paragraph_funcs.h"
+#include "ParagraphParameters.h"
+
 #include "insets/insetinclude.h"
 #include "insets/insettabular.h"
 
index 37dd3352b563246808d4d16dad75438f74a73cbb..23c0097d4fa3430de171d390b268b12f5af6d24f 100644 (file)
 #include <config.h>
 
 #include "ParagraphParameters.h"
-#include "tex-strings.h"
-#include "lyxlex.h"
 
 #include "buffer.h"
 #include "BufferView.h"
-#include "support/std_sstream.h"
 #include "gettext.h"
+#include "lyxlex.h"
 #include "lyxtext.h"
 #include "paragraph.h"
+#include "tex-strings.h"
 
 #include "frontends/LyXView.h"
 
 #include "support/lstrings.h"
 
+#include "support/std_sstream.h"
 
 using namespace lyx::support;
 
index 0f18ec3c11b4bf80108457037d07df85934f3e74..c6d0bdea26c7a49b42f9ca30114c4fa0bf1ee975 100644 (file)
 #include <config.h>
 
 #include "buffer.h"
+
 #include "buffer_funcs.h"
 #include "bufferlist.h"
-#include "LyXAction.h"
-#include "lyxrc.h"
-#include "lyxlex.h"
-#include "version.h"
-#include "LaTeX.h"
 #include "Chktex.h"
 #include "debug.h"
-#include "LaTeXFeatures.h"
-#include "gettext.h"
-#include "language.h"
+#include "errorlist.h"
 #include "exporter.h"
-#include "support/std_sstream.h"
 #include "format.h"
-#include "ParagraphParameters.h"
+#include "gettext.h"
 #include "iterators.h"
-#include "sgml.h"
-#include "paragraph_funcs.h"
+#include "language.h"
+#include "LaTeX.h"
+#include "LaTeXFeatures.h"
+#include "LyXAction.h"
+#include "lyxlex.h"
+#include "lyxrc.h"
 #include "messages.h"
-
-
+#include "paragraph_funcs.h"
+#include "ParagraphParameters.h"
+#include "sgml.h"
+#include "undo.h"
+#include "version.h"
 
 #include "insets/insetbibitem.h"
 #include "insets/insetbibtex.h"
 
 #include "graphics/Previews.h"
 
-#include "support/LAssert.h"
-#include "support/textutils.h"
+#include "support/FileInfo.h"
 #include "support/filetools.h"
-#include "support/path.h"
+#include "support/gzstream.h"
+#include "support/LAssert.h"
+#include "support/lyxlib.h"
 #include "support/os.h"
+#include "support/path.h"
+#include "support/textutils.h"
 #include "support/tostr.h"
-#include "support/lyxlib.h"
-#include "support/FileInfo.h"
-#include "support/gzstream.h"
 
 #include <boost/bind.hpp>
 #include <boost/tuple/tuple.hpp>
 
+#include "support/std_sstream.h"
+
 #include <iomanip>
 #include <stack>
 
index 5c9a35c8093fb3c42098a11c145ac34c6b313b8d..770108d9dd5751a32fdcfc79807bb0ffa24062fe 100644 (file)
 #ifndef BUFFER_H
 #define BUFFER_H
 
-#include "support/std_string.h"
-#include "undo.h"
-#include "support/limited_stack.h"
-
-#include "lyxvc.h"
 #include "bufferparams.h"
-#include "texrow.h"
-#include "ParagraphList_fwd.h"
-#include "errorlist.h"
 #include "InsetList.h"
+#include "lyxvc.h"
+#include "ParagraphList_fwd.h"
+#include "texrow.h"
 
+#include "support/limited_stack.h"
 #include "support/types.h"
 
 #include <boost/scoped_ptr.hpp>
 #include <boost/signals/signal0.hpp>
 #include <boost/signals/signal1.hpp>
 
+#include "support/std_string.h"
+#include <iosfwd>
+#include <map>
+#include <utility>
+#include <vector>
+
+
 class AuthorList;
+class ErrorItem;
 class LyXRC;
 class LaTeXFeatures;
 class LatexRunParams;
@@ -38,6 +42,7 @@ class Messages;
 class ParIterator;
 class ParConstIterator;
 class TeXErrors;
+class Undo;
 
 
 /** The buffer object.
@@ -99,8 +104,9 @@ public:
 
        /// This parses a single token
        int readParagraph(LyXLex &, string const & token,
-                     ParagraphList & pars, ParagraphList::iterator & pit,
-                     lyx::depth_type & depth);
+                         ParagraphList & pars,
+                         ParagraphList::iterator & pit,
+                         lyx::depth_type & depth);
 
        ///
        void insertStringAsLines(ParagraphList::iterator &, lyx::pos_type &,
@@ -137,7 +143,7 @@ public:
        bool writeFile(string const &) const;
 
        ///
-       void writeFileAscii(string const & , int);
+       void writeFileAscii(string const &, int);
        ///
        void writeFileAscii(std::ostream &, int);
        ///
@@ -157,12 +163,13 @@ public:
                           bool output_body = true);
        ///
        void simpleDocBookOnePar(std::ostream &,
-                                ParagraphList::iterator par, int & desc_on,
+                                ParagraphList::iterator par,
+                                int & desc_on,
                                 lyx::depth_type depth) const;
        ///
        void simpleLinuxDocOnePar(std::ostream & os,
-              ParagraphList::iterator par,
-                                lyx::depth_type depth) const;
+                                 ParagraphList::iterator par,
+                                 lyx::depth_type depth) const;
        ///
        void makeLinuxDocFile(string const & filename,
                              bool nice, bool only_body = false);
index 2069ed51c9a4161c109788dbf181405bf187eaa0..f9e6850e2590e0705cfe14b49c21324578a95b84 100644 (file)
 #include <config.h>
 
 #include "buffer_funcs.h"
-#include "bufferlist.h"
+
 #include "buffer.h"
+#include "bufferlist.h"
+#include "errorlist.h"
 #include "gettext.h"
+#include "LaTeX.h"
 #include "paragraph.h"
 #include "vc-backend.h"
-#include "LaTeX.h"
 
 #include "frontends/Alert.h"
 
-#include "support/filetools.h"
 #include "support/FileInfo.h"
+#include "support/filetools.h"
 #include "support/lyxlib.h"
 
 
index 2956d44ea8402ad5c2c39069cebfa383b6cb48da..bde19e7383e3c5b0832155eca584e466f4623e4a 100644 (file)
 #include <config.h>
 
 #include "bufferlist.h"
-#include "lyx_main.h"
-#include "lastfiles.h"
+
 #include "buffer.h"
 #include "debug.h"
-#include "lyx_cb.h"
 #include "gettext.h"
+#include "lastfiles.h"
+#include "lyx_cb.h"
+#include "lyx_main.h"
 #include "paragraph.h"
 #include "TextCache.h"
 
 #include "frontends/Alert.h"
 
 #include "support/filetools.h"
-#include "support/lyxfunctional.h"
 #include "support/LAssert.h"
+#include "support/lyxfunctional.h"
 
 #include <boost/bind.hpp>
 
-
-
 using namespace lyx::support;
 
 using std::vector;
index f05f50786c1439c50fcd98dd6f147832c8803ba9..08c6b0e77dc3220ce1e7b1ea05212e0585df0b5f 100644 (file)
 
 #include <config.h>
 
-#include "buffer.h"
 #include "bufferview_funcs.h"
+
+#include "buffer.h"
 #include "BufferView.h"
-#include "language.h"
 #include "gettext.h"
+#include "language.h"
 #include "lyxlex.h"
 #include "lyxrow.h"
 #include "paragraph.h"
 #include "ParagraphParameters.h"
 
-#include "frontends/LyXView.h"
 #include "frontends/Alert.h"
+#include "frontends/LyXView.h"
+
+#include "insets/insettext.h"
+
 #include "mathed/math_cursor.h"
 
 #include "support/tostr.h"
-#include "support/std_sstream.h"
 
-#include "insets/insettext.h"
+#include "support/std_sstream.h"
 
 using namespace lyx::support;
 
index 8f816de5eb69f40182a0c289bfa48e1d98b9209f..54939b63f5faa48a4c617ff3c69d263012571675 100644 (file)
 
 #include <config.h>
 
-#include "BufferView.h"
 #include "ControlDocument.h"
 #include "ViewBase.h"
 
-#include "gettext.h"
-
 #include "buffer.h"
 #include "buffer_funcs.h"
+#include "BufferView.h"
+#include "CutAndPaste.h"
+#include "errorlist.h"
+#include "gettext.h"
 #include "iterators.h"
 #include "language.h"
 #include "lyxtextclasslist.h"
-#include "CutAndPaste.h"
 #include "paragraph.h"
 
-#include "frontends/LyXView.h"
 #include "frontends/Alert.h"
+#include "frontends/LyXView.h"
 
-#include "support/LAssert.h"
 #include "support/filetools.h"
+#include "support/LAssert.h"
 #include "support/path_defines.h"
 
 using namespace lyx::support;
index e90dd7e24c324feaf79990ffeeaa21a2c115f7e5..58c42873f8b44366d1068a4acdda00dd5ddcfa7c 100644 (file)
@@ -22,8 +22,8 @@
 #include "metricsinfo.h"
 #include "paragraph.h"
 
-#include "frontends/Painter.h"
 #include "frontends/font_metrics.h"
+#include "frontends/Painter.h"
 
 #include "support/LAssert.h"
 #include "support/lstrings.h"
index 9f8afc26eba25fc9a64b2fe61bd672e20fc82117..6813ae22f98c703cad50da8aaa2d87f084b869b8 100644 (file)
@@ -17,6 +17,7 @@
 #include "BufferView.h"
 #include "CutAndPaste.h"
 #include "debug.h"
+#include "errorlist.h"
 #include "funcrequest.h"
 #include "gettext.h"
 #include "intl.h"
index 9e8ae6c3a6e614cb546efc4032ab918d7096c166..cd9404bff3a1ff0bc611dd63f7f1732b5575cba7 100644 (file)
 #include <config.h>
 
 #include "lyx_cb.h"
-#include "lyx_main.h"
+
 #include "buffer.h"
 #include "bufferlist.h"
+#include "BufferView.h"
 #include "debug.h"
+#include "gettext.h"
 #include "lastfiles.h"
+#include "lyx_main.h"
 #include "lyxrc.h"
 #include "lyxtext.h"
-#include "gettext.h"
-#include "BufferView.h"
 #include "paragraph.h"
 
-#include "frontends/lyx_gui.h"
-#include "frontends/LyXView.h"
 #include "frontends/Alert.h"
 #include "frontends/FileDialog.h"
+#include "frontends/lyx_gui.h"
+#include "frontends/LyXView.h"
 
 #include "support/FileInfo.h"
 #include "support/filetools.h"
 #include "support/forkedcall.h"
 #include "support/lyxlib.h"
+#include "support/os.h"
 #include "support/path.h"
 #include "support/path_defines.h"
-#include "support/os.h"
 #include "support/systemcall.h"
 
 #include <cerrno>
index 6a99ee0b61827ddadf16f86d2976761d18fac4d4..1cf95d3496e53d633c83a2737a89febef6141137 100644 (file)
@@ -23,6 +23,7 @@
 #include "converter.h"
 #include "debug.h"
 #include "encoding.h"
+#include "errorlist.h"
 #include "format.h"
 #include "gettext.h"
 #include "kbmap.h"
@@ -38,7 +39,6 @@
 #include "frontends/Alert.h"
 #include "frontends/lyx_gui.h"
 
-
 #include "support/FileInfo.h"
 #include "support/filetools.h"
 #include "support/lyxlib.h"
index 7a5ba8775d29bf60b552522ba37610f82f2acac9..0866afb3b99f04543bd5a8595bc6b26f0fe074a1 100644 (file)
 #include <config.h>
 
 #include "lyxfunc.h"
-#include "kbmap.h"
-#include "bufferlist.h"
+
 #include "buffer.h"
 #include "buffer_funcs.h"
+#include "bufferlist.h"
 #include "BufferView.h"
-#include "funcrequest.h"
-#include "iterators.h"
-#include "lyxserver.h"
-#include "intl.h"
-#include "lyx_cb.h"
-#include "lyxrow.h"
-#include "LyXAction.h"
 #include "debug.h"
-#include "gettext.h"
-#include "support/std_sstream.h"
 #include "encoding.h"
-#include "frontends/LyXView.h"
-#include "frontends/lyx_gui.h"
-#include "format.h"
 #include "exporter.h"
+#include "format.h"
+#include "funcrequest.h"
+#include "gettext.h"
 #include "importer.h"
-#include "TextCache.h"
+#include "intl.h"
+#include "iterators.h"
+#include "kbmap.h"
+#include "lyx_cb.h"
+#include "LyXAction.h"
 #include "lyxfind.h"
-#include "undo_funcs.h"
+#include "lyxrow.h"
+#include "lyxserver.h"
 #include "paragraph.h"
 #include "ParagraphParameters.h"
+#include "TextCache.h"
+#include "undo_funcs.h"
 
 #include "insets/insetcommand.h"
 #include "insets/insetexternal.h"
 
 #include "mathed/math_cursor.h"
 
-#include "frontends/FileDialog.h"
+#include "frontends/Alert.h"
 #include "frontends/Dialogs.h"
-#include "frontends/Toolbar.h"
+#include "frontends/FileDialog.h"
+#include "frontends/lyx_gui.h"
+#include "frontends/LyXView.h"
 #include "frontends/Menubar.h"
-#include "frontends/Alert.h"
-
+#include "frontends/Toolbar.h"
 
-#include "support/LAssert.h"
-#include "support/filetools.h"
 #include "support/FileInfo.h"
+#include "support/filetools.h"
 #include "support/forkedcontr.h"
-#include "support/tostr.h"
+#include "support/LAssert.h"
 #include "support/path.h"
 #include "support/path_defines.h"
+#include "support/tostr.h"
 
-
+#include "support/std_sstream.h"
 
 using namespace lyx::support;
 
index ce59310a4e80609dcc4a66c27cfd56ed2e8d04dd..fa2a4eb92ac42c9078aabdb5162af4712366c690 100644 (file)
 #ifndef PARAGRAPH_H
 #define PARAGRAPH_H
 
+#include "changes.h"
+#include "InsetList.h"
 #include "lyxlayout_ptr_fwd.h"
 #include "lyxfont.h" // Just for LyXFont::FONT_SIZE
-#include "InsetList.h"
+#include "RowList_fwd.h"
 
 #include "insets/inset.h" // Just for InsetOld::Code
 
 #include "support/types.h"
-#include "changes.h"
-#include "RowList_fwd.h"
 
 #include "support/std_string.h"
 
@@ -85,7 +85,7 @@ public:
 
        ///
        void write(Buffer const &, std::ostream &, BufferParams const &,
-                      depth_type & depth) const;
+                  depth_type & depth) const;
        ///
        void validate(LaTeXFeatures &) const;
 
index 855837e7c3ab950e3bd515cdb6589afc357e618f..fd1b460edc6568a8a4a9ea66db679770de034fd5 100644 (file)
@@ -14,6 +14,7 @@
 #include "paragraph_pimpl.h"
 #include "buffer.h"
 #include "debug.h"
+#include "errorlist.h"
 #include "gettext.h"
 #include "iterators.h"
 #include "language.h"
index e503859aa3f19724555c08efe364273eea5aebde..c97eba98bbc68729a5516d8f0f3dffd04fb2111d 100644 (file)
 #include <config.h>
 
 #include "tabular.h"
-#include "LaTeXFeatures.h"
-#include "support/std_sstream.h"
+
 #include "buffer.h"
 #include "debug.h"
+#include "LaTeXFeatures.h"
 #include "lyxlex.h"
 #include "paragraph.h"
 
@@ -31,7 +31,7 @@
 #include "support/lstrings.h"
 #include "support/tostr.h"
 
-
+#include "support/std_sstream.h"
 
 using namespace lyx::support;
 
index 3b79c12d4cd292ee8d97633b3268aa64a7a0ade1..0affbe7812a1e0c04a8bec0aaae1fcb9ee3dd154 100644 (file)
 #include <config.h>
 
 #include "lyxtext.h"
-#include "support/std_sstream.h"
-#include "funcrequest.h"
-#include "frontends/LyXView.h"
-#include "undo_funcs.h"
+
 #include "buffer.h"
 #include "buffer_funcs.h"
-#include "gettext.h"
 #include "BufferView.h"
+#include "counters.h"
 #include "CutAndPaste.h"
-#include "frontends/font_metrics.h"
 #include "debug.h"
-#include "lyxrc.h"
+#include "errorlist.h"
 #include "Floating.h"
 #include "FloatList.h"
+#include "funcrequest.h"
+#include "gettext.h"
 #include "language.h"
-#include "ParagraphParameters.h"
-#include "counters.h"
+#include "lyxrc.h"
 #include "lyxrow.h"
 #include "lyxrow_funcs.h"
 #include "metricsinfo.h"
 #include "paragraph_funcs.h"
+#include "ParagraphParameters.h"
+#include "undo_funcs.h"
+
+#include "frontends/font_metrics.h"
+#include "frontends/LyXView.h"
 
 #include "insets/insetbibitem.h"
 #include "insets/insetenv.h"
 #include "insets/insetwrap.h"
 
 #include "support/LAssert.h"
-#include "support/textutils.h"
 #include "support/lstrings.h"
+#include "support/textutils.h"
 
 #include <boost/tuple/tuple.hpp>
 
+#include "support/std_sstream.h"
 
 using namespace lyx::support;
 
index e6a05bfe2e9759cbdf306fca766ab4a31aeeead1..c2fe35741c4ed62ebbdcdc2bd1527eba70a1520d 100644 (file)
 #include <config.h>
 
 #include "lyxtext.h"
+
+#include "buffer.h"
 #include "BufferView.h"
+#include "debug.h"
+#include "factory.h"
 #include "funcrequest.h"
+#include "gettext.h"
+#include "intl.h"
+#include "language.h"
 #include "lyxrc.h"
-#include "support/std_sstream.h"
-#include "debug.h"
-#include "buffer.h"
 #include "lyxrow.h"
 #include "paragraph.h"
 #include "ParagraphParameters.h"
-#include "gettext.h"
-#include "factory.h"
-#include "intl.h"
-#include "language.h"
-#include "support/tostr.h"
-#include "support/lstrings.h"
-#include "support/LAssert.h"
-#include "frontends/LyXView.h"
+#include "text_funcs.h"
+#include "undo_funcs.h"
+
 #include "frontends/Dialogs.h"
-#include "insets/insetspecialchar.h"
-#include "insets/insettext.h"
+#include "frontends/LyXView.h"
+
 #include "insets/insetcommand.h"
 #include "insets/insetnewline.h"
-#include "undo_funcs.h"
-#include "text_funcs.h"
+#include "insets/insetspecialchar.h"
+#include "insets/insettext.h"
+
+#include "support/LAssert.h"
+#include "support/lstrings.h"
+#include "support/tostr.h"
 
+#include "support/std_sstream.h"
 #include <clocale>
 
 using namespace lyx::support;
index 5f7b9f1d1b37ec0ee26e839a31d801c310f63427..12bf0d9c03e0955081118d09776df8326a50b26f 100644 (file)
--- a/src/toc.C
+++ b/src/toc.C
 #include <config.h>
 
 #include "toc.h"
+
 #include "buffer.h"
 #include "funcrequest.h"
-#include "LyXAction.h"
 #include "iterators.h"
+#include "LyXAction.h"
 #include "paragraph.h"
 
+#include "frontends/LyXView.h"
+
 #include "insets/insetfloat.h"
 #include "insets/insetwrap.h"
 
 #include "support/tostr.h"
 
-#include "frontends/LyXView.h"
-
 using std::vector;
 using std::max;
 using std::endl;
index eb50261d365b42e8c9bdf97fa2a776666665fd9a..159f16c9c210558b594830d477c1da818c31a318 100644 (file)
 #include <config.h>
 
 #include "undo_funcs.h"
-#include "lyxtext.h"
-#include "funcrequest.h"
-#include "BufferView.h"
+
 #include "buffer.h"
-#include "insets/updatableinset.h"
+#include "BufferView.h"
+#include "funcrequest.h"
 #include "iterators.h"
+#include "lyxtext.h"
 #include "paragraph.h"
 
+#include "insets/updatableinset.h"
+
 
 /// The flag used by FinishUndo().
 bool undo_finished;