#include "BranchList.h"
#include "support/LAssert.h"
-#include <functional>
using std::bind2nd;
using std::remove_if;
#include "BufferView.h"
#include "BufferView_pimpl.h"
-#include "LaTeX.h"
-#include "ParagraphParameters.h"
#include "WordLangTuple.h"
#include "buffer.h"
#include "bufferlist.h"
-#include "debug.h"
#include "gettext.h"
-#include "errorlist.h"
#include "funcrequest.h"
#include "iterators.h"
#include "language.h"
-#include "lyxcursor.h"
-#include "lyxlex.h"
#include "lyxtext.h"
#include "undo_funcs.h"
-#include "changes.h"
#include "paragraph_funcs.h"
#include "frontends/Alert.h"
#include "insets/insetcommand.h" // ChangeRefs
#include "insets/updatableinset.h"
-#include "support/FileInfo.h"
#include "support/filetools.h"
-#include "support/types.h"
#include "support/lyxalgo.h" // lyx_count
#include "support/LAssert.h"
-#include <fstream>
extern BufferList bufferlist;
#include "bufferlist.h"
#include "buffer.h"
#include "buffer_funcs.h"
-#include "bufferview_funcs.h"
-#include "lfuns.h"
#include "debug.h"
#include "factory.h"
#include "FloatList.h"
#include "gettext.h"
#include "intl.h"
#include "iterators.h"
-#include "Lsstream.h"
#include "lyx_cb.h" // added for Dispatch functions
#include "lyx_main.h"
#include "lyxfind.h"
#include "lyxtext.h"
#include "lyxrc.h"
#include "lastfiles.h"
-#include "paragraph.h"
#include "paragraph_funcs.h"
#include "ParagraphParameters.h"
#include "TextCache.h"
#include "undo_funcs.h"
#include "insets/insetfloatlist.h"
-#include "insets/insetgraphics.h"
-#include "insets/insetinclude.h"
#include "insets/insetref.h"
-#include "insets/insettext.h"
#include "frontends/Alert.h"
#include "frontends/Dialogs.h"
#include "frontends/FileDialog.h"
#include "frontends/LyXView.h"
#include "frontends/LyXScreenFactory.h"
-#include "frontends/mouse_state.h"
#include "frontends/screen.h"
#include "frontends/WorkArea.h"
#include "frontends/WorkAreaFactory.h"
#include "graphics/Previews.h"
-#include "support/LAssert.h"
#include "support/tostr.h"
#include "support/filetools.h"
#include "support/path_defines.h"
#include <boost/bind.hpp>
-#include <boost/signals/connection.hpp>
-#include <unistd.h>
-#include <sys/wait.h>
using std::vector;
+2003-09-05 Angus Leeming <leeming@lyx.org>
+
+ * sgml.h: ensure that the header file can be compiled stand-alone.
+ * *.C: strip out redundant #includes. (320 in total.)
+
2003-09-04 Angus Leeming <leeming@lyx.org>
* LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
#include "Chktex.h"
#include "LaTeX.h" // TeXErrors
-#include "lyxlex.h"
-#include "debug.h"
#include "gettext.h"
-#include "support/FileInfo.h"
#include "support/filetools.h"
#include "support/lstrings.h"
#include "support/lyxlib.h"
-#include "support/path.h"
#include "support/systemcall.h"
#include "support/BoostFormat.h"
#include <config.h>
#include "CutAndPaste.h"
-#include "BufferView.h"
#include "buffer.h"
-#include "errorlist.h"
-#include "paragraph.h"
#include "ParagraphParameters.h"
-#include "lyxtext.h"
-#include "lyxcursor.h"
#include "iterators.h"
#include "lyxtextclasslist.h"
-#include "undo_funcs.h"
#include "gettext.h"
#include "paragraph_funcs.h"
-#include "debug.h"
#include "insets/insetinclude.h"
#include "insets/insettabular.h"
#include "support/LAssert.h"
#include "support/lstrings.h"
-#include "support/limited_stack.h"
using std::endl;
using std::pair;
#include "support/lstrings.h"
#include "support/lyxtime.h"
-#include <sys/types.h>
#include <sys/stat.h>
-#include <unistd.h>
#include <fstream>
-#include <ctime>
#ifndef CXX_GLOBAL_CSTD
using std::time;
#include "FloatList.h"
#include "Floating.h"
-#include "gettext.h"
// This class is now mostly finished, except one thing, it is a global
// object. This will not do. The user (and layout files) are free to
#include "buffer.h"
#include "debug.h"
-#include "insets/updatableinset.h"
#include "insets/insetbranch.h"
-#include <algorithm>
using lyx::pos_type;
#include "support/lyxlib.h"
#include "support/systemcall.h"
#include "support/os.h"
-#include "support/path.h"
#include <boost/regex.hpp>
#include <fstream>
-#include <cstdio> // sscanf
using namespace lyx::support;
#include "LaTeXFeatures.h"
#include "debug.h"
#include "lyx_sty.h"
-#include "lyxrc.h"
#include "bufferparams.h"
#include "Floating.h"
#include "FloatList.h"
#include "language.h"
#include "encoding.h"
-#include "LString.h"
#include "Lsstream.h"
#include "support/filetools.h"
-#include "support/lstrings.h"
using namespace lyx::support;
#include "debug.h"
#include "funcrequest.h"
-#include "gettext.h"
#include "support/lstrings.h"
using namespace lyx::support;
#include <config.h>
#include "ParagraphParameters.h"
-#include "ParameterStruct.h"
#include "tex-strings.h"
#include "lyxlex.h"
#include "BufferView.h"
#include "Lsstream.h"
#include "gettext.h"
-#include "paragraph.h"
#include "lyxtext.h"
-#include "Lsstream.h"
#include "frontends/LyXView.h"
#include "support/lstrings.h"
-#include <iostream>
using namespace lyx::support;
#include "Lsstream.h"
#include "Spacing.h"
-#include "LString.h"
using std::ios;
using std::ostream;
#include <config.h>
#include "TextCache.h"
-#include "buffer.h"
#include "lyxtext.h"
#include "bufferlist.h"
#include "debug.h"
#include "LyXAction.h"
#include "lyxlex.h"
#include "debug.h"
-#include "lyxlex.h"
#include "gettext.h"
#include "support/lstrings.h"
#include "frontends/controllers/ControlMath.h"
-#include <vector>
using namespace lyx::support;
#include "aspell_local.h"
#include "WordLangTuple.h"
+
using namespace lyx::support;
using std::endl;
#include "author.h"
#include "support/LAssert.h"
-#include "support/LOstream.h"
#include "support/LIstream.h"
#include "support/lstrings.h"
#include "LyXAction.h"
#include "lyxrc.h"
#include "lyxlex.h"
-#include "tex-strings.h"
-#include "layout.h"
-#include "bufferview_funcs.h"
-#include "lyxfont.h"
#include "version.h"
#include "LaTeX.h"
#include "Chktex.h"
#include "debug.h"
#include "LaTeXFeatures.h"
-#include "lyxtext.h"
#include "gettext.h"
#include "language.h"
#include "exporter.h"
-#include "errorlist.h"
#include "Lsstream.h"
#include "format.h"
#include "ParagraphParameters.h"
#include "iterators.h"
-#include "lyxtextclasslist.h"
#include "sgml.h"
#include "paragraph_funcs.h"
#include "messages.h"
-#include "author.h"
-#include "frontends/LyXView.h"
-#include "mathed/formulamacro.h"
-#include "mathed/formula.h"
#include "insets/insetbibitem.h"
#include "insets/insetbibtex.h"
#include "insets/insetinclude.h"
#include "insets/insettext.h"
-#include "frontends/Dialogs.h"
#include "frontends/Alert.h"
#include "graphics/Previews.h"
#include "support/tostr.h"
#include "support/lyxlib.h"
#include "support/FileInfo.h"
-#include "support/lyxmanip.h"
-#include "support/lyxtime.h"
#include "support/gzstream.h"
#include <boost/bind.hpp>
#include <boost/tuple/tuple.hpp>
-#include <fstream>
#include <iomanip>
-#include <map>
#include <stack>
-#include <list>
-#include <algorithm>
-#include <cstdlib>
-#include <cmath>
-#include <unistd.h>
-#include <sys/types.h>
#include <utime.h>
#ifdef HAVE_LOCALE
-#include <locale>
#endif
using namespace lyx::support;
#include "buffer_funcs.h"
#include "bufferlist.h"
#include "buffer.h"
-#include "errorlist.h"
#include "gettext.h"
#include "vc-backend.h"
#include "LaTeX.h"
-#include "ParagraphList.h"
-#include "paragraph.h"
#include "frontends/Alert.h"
#include "lastfiles.h"
#include "buffer.h"
#include "debug.h"
-#include "lyxrc.h"
-#include "lyxtext.h"
#include "lyx_cb.h"
-#include "bufferview_funcs.h"
-#include "BufferView.h"
#include "gettext.h"
-#include "frontends/LyXView.h"
-#include "vc-backend.h"
#include "TextCache.h"
-#include "lyxlex.h"
#include "frontends/Alert.h"
-#include "support/FileInfo.h"
#include "support/filetools.h"
-#include "support/lyxmanip.h"
#include "support/lyxfunctional.h"
#include "support/LAssert.h"
#include <boost/bind.hpp>
-#include <cassert>
-#include <algorithm>
-#include <functional>
using namespace lyx::support;
#include <config.h>
-#include "author.h"
#include "bufferparams.h"
#include "debug.h"
#include "encoding.h"
#include "gettext.h"
-#include "layout.h"
#include "language.h"
#include "LaTeXFeatures.h"
-#include "LColor.h"
#include "Lsstream.h"
-#include "lyxrc.h"
#include "lyxlex.h"
#include "lyxtextclasslist.h"
#include "tex-strings.h"
#include "texrow.h"
-#include "vspace.h"
#include "frontends/Alert.h"
#include "support/lyxalgo.h" // for lyx::count
-#include "support/lyxlib.h"
-#include "support/lstrings.h"
-#include "support/types.h"
-#include <cstdlib>
-#include <algorithm>
using namespace lyx::support;
#include "bufferview_funcs.h"
#include "BufferView.h"
-#include "paragraph.h"
-#include "lyxfont.h"
#include "lyxlex.h"
-#include "lyxtext.h"
#include "buffer.h"
-#include "lyx_cb.h"
#include "language.h"
#include "gettext.h"
#include "ParagraphParameters.h"
-#include "author.h"
-#include "changes.h"
#include "frontends/LyXView.h"
#include "frontends/Alert.h"
#include "support/tostr.h"
#include "Lsstream.h"
-#include "insets/updatableinset.h"
#include "insets/insettext.h"
-#include <boost/bind.hpp>
-#include <algorithm>
using namespace lyx::support;
#include "changes.h"
#include "debug.h"
-#include "author.h"
#include "support/LAssert.h"
-#include "support/LOstream.h"
using namespace lyx::support;
#include <config.h>
#include "converter.h"
-#include "graph.h"
#include "format.h"
-#include "lyxrc.h"
#include "buffer.h"
-#include "bufferparams.h"
#include "buffer_funcs.h"
-#include "bufferview_funcs.h"
-#include "errorlist.h"
#include "LaTeX.h"
#include "gettext.h"
#include "debug.h"
#include "frontends/Alert.h"
-#include "frontends/LyXView.h"
#include "support/filetools.h"
-#include "support/lyxfunctional.h"
#include "support/lyxlib.h"
#include "support/path.h"
-#include "support/tostr.h"
#include "support/systemcall.h"
-#include <boost/signals/signal1.hpp>
-#include <boost/signals/trackable.hpp>
-#include <cctype>
using namespace lyx::support;
#include <config.h>
#include "errorlist.h"
-#include "buffer.h"
ErrorItem::ErrorItem(string const & error, string const & description,
#include "frontends/Alert.h"
#include "gettext.h"
-#include <algorithm>
using namespace lyx::support;
#include <config.h>
+#include "factory.h"
#include "funcrequest.h"
-#include "bufferparams.h"
#include "buffer.h"
#include "FloatList.h"
#include "debug.h"
#include "BufferView.h"
-#include "lyxtext.h"
#include "lyxlex.h"
#include "insets/insetbibitem.h"
#include "insets/insetref.h"
#include "insets/insetspace.h"
#include "insets/insettabular.h"
-#include "insets/insettext.h"
#include "insets/insettoc.h"
#include "insets/inseturl.h"
#include "insets/insetwrap.h"
#include "frontends/LyXView.h"
#include "support/lstrings.h"
-#include <cstdio>
using namespace lyx::support;
#include "format.h"
#include "buffer.h"
-#include "buffer_funcs.h"
#include "lyxrc.h"
#include "debug.h"
#include "gettext.h"
-#include "LString.h"
#include "frontends/Alert.h" //to be removed?
-#include "support/lstrings.h"
#include "support/filetools.h"
#include "support/path.h"
#include "support/systemcall.h"
#include <config.h>
+#include "gettext.h"
#include "messages.h"
-#include "LString.h"
-#include "support/LAssert.h"
-#include <boost/scoped_ptr.hpp>
#ifdef HAVE_LOCALE_H
# include <locale.h>
* Full author contact details are available in file CREDITS.
*/
-#include "config.h"
#include "graph.h"
#include "format.h"
-#include <queue>
-#include <vector>
-#include <algorithm>
using std::queue;
using std::vector;
#include "funcrequest.h"
#include "bufferlist.h"
-#include "buffer_funcs.h"
#include "support/filetools.h"
#include "frontends/Alert.h"
#include "gettext.h"
#include "BufferView.h"
-#include <algorithm>
using namespace lyx::support;
#include "debug.h"
#include "lyxrc.h"
-#include "support/lstrings.h"
-#include "language.h"
using std::endl;
#include <config.h>
-#include "LString.h"
-#include "lyxrc.h"
#include "language.h"
#include "debug.h"
#include "encoding.h"
#include "bufferparams.h"
#include "support/forkedcall.h"
-#include "support/lstrings.h"
// HP-UX 11.x doesn't have this header
#ifdef HAVE_SYS_SELECT_H
-#include <sys/select.h>
#endif
-#include <sys/time.h>
using namespace lyx::support;
#include <config.h>
#include "iterators.h"
-#include "paragraph.h"
#include <boost/next_prior.hpp>
#include <boost/optional.hpp>
// it's conceptionally a stack, but undo needs random access...
//#include <stack>
-#include <vector>
using boost::next;
using boost::optional;
#include <config.h>
#include "kbmap.h"
-#include "lfuns.h"
#include "kbsequence.h"
#include "LyXAction.h"
#include "support/filetools.h"
#include "gettext.h"
-#include "frontends/mouse_state.h"
#include "frontends/LyXKeySymFactory.h"
#include "kbsequence.h"
#include "kbmap.h"
#include "lfuns.h"
-#include "debug.h"
using std::make_pair;
#include <config.h>
#include "language.h"
-#include "gettext.h"
#include "encoding.h"
-#include "lyxrc.h"
#include "lyxlex.h"
#include "debug.h"
#include "support/FileInfo.h"
#include <fstream>
-#include <algorithm>
#include <iterator>
#include "lyx_cb.h"
#include "lyx_main.h"
#include "buffer.h"
-#include "buffer_funcs.h"
#include "bufferlist.h"
-#include "bufferview_funcs.h"
#include "debug.h"
#include "lastfiles.h"
#include "lyxrc.h"
#include "lyxtext.h"
#include "gettext.h"
#include "BufferView.h"
-#include "Lsstream.h"
-#include "insets/insetlabel.h"
#include "frontends/lyx_gui.h"
#include "frontends/LyXView.h"
#include "support/FileInfo.h"
#include "support/filetools.h"
#include "support/forkedcall.h"
-#include "support/lstrings.h"
#include "support/lyxlib.h"
#include "support/path.h"
#include "support/path_defines.h"
#include "support/systemcall.h"
#include <fstream>
-#include <algorithm>
-#include <utility>
-#include <cerrno>
using namespace lyx::support;
#include "frontends/Alert.h"
#include "frontends/lyx_gui.h"
-#include "graphics/GraphicsTypes.h"
#include "support/FileInfo.h"
#include "support/filetools.h"
#include "support/path.h"
#include "support/path_defines.h"
-#include <boost/function.hpp>
#include <boost/bind.hpp>
-#include <boost/signals/signal1.hpp>
-#include <cstdlib>
-#include <csignal>
#include <iostream>
using namespace lyx::support;
#include "lyxtext.h"
#include "lyxfind.h"
-#include "paragraph.h"
-#include "frontends/LyXView.h"
#include "frontends/Alert.h"
#include "support/textutils.h"
-#include "support/lstrings.h"
#include "BufferView.h"
#include "buffer.h"
-#include "debug.h"
#include "gettext.h"
#include "insets/insettext.h"
-#include "changes.h"
using namespace lyx::support;
*/
#include <config.h>
-#include <clocale>
-#include <cctype>
-#include "gettext.h"
#include "lyxfont.h"
+#include "gettext.h"
#include "debug.h"
#include "lyxrc.h"
#include "lyxlex.h"
#include <config.h>
#include "lyxfunc.h"
-#include "version.h"
#include "kbmap.h"
#include "bufferlist.h"
#include "buffer.h"
#include "iterators.h"
#include "lyxserver.h"
#include "intl.h"
-#include "lyx_main.h"
#include "lyx_cb.h"
#include "LyXAction.h"
#include "debug.h"
-#include "lyxrc.h"
-#include "lyxtext.h"
#include "gettext.h"
#include "Lsstream.h"
-#include "trans_mgr.h"
#include "encoding.h"
-#include "layout.h"
-#include "bufferview_funcs.h"
#include "frontends/LyXView.h"
#include "frontends/lyx_gui.h"
-#include "vspace.h"
-#include "FloatList.h"
#include "format.h"
#include "exporter.h"
#include "importer.h"
#include "insets/insetexternal.h"
#include "insets/insettabular.h"
-#include "mathed/formulamacro.h"
#include "mathed/math_cursor.h"
-#include "mathed/math_inset.h"
#include "frontends/FileDialog.h"
#include "frontends/Dialogs.h"
#include "frontends/Menubar.h"
#include "frontends/Alert.h"
-#include "graphics/GraphicsCache.h"
-#include "support/lyxalgo.h"
#include "support/LAssert.h"
#include "support/filetools.h"
#include "support/FileInfo.h"
#include "support/forkedcontr.h"
-#include "support/lstrings.h"
#include "support/tostr.h"
#include "support/path.h"
#include "support/path_defines.h"
-#include "support/lyxfunctional.h"
-#include <ctime>
-#include <clocale>
-#include <cstdlib>
-#include <cctype>
-#include <utility>
-#include <algorithm>
using namespace lyx::support;
#include "lengthcommon.h"
#include "lyxrc.h"
-#include "support/lstrings.h"
#include "Lsstream.h"
-#include <cstdlib>
using std::abs;
#include "lyxlex.h"
#include "lyxlex_pimpl.h"
#include "debug.h"
-#include "support/filetools.h"
#include "support/lstrings.h"
using namespace lyx::support;
lyxerr[Debug::PARSER] << "LongString: `"
<< getString() << '\'' << endl;
- // We do a case independent comparison, like search_kw
- // does.
+ // We do a case independent comparison, like search_kw does.
if (compare_ascii_no_case(token, endtoken) == 0)
break;
if (pimpl_->getString() == "true") {
return true;
} else if (pimpl_->getString() != "false") {
- pimpl_->printError("Bad boolean `$$Token'. Use \"false\" or \"true\"");
+ pimpl_->printError("Bad boolean `$$Token'. "
+ "Use \"false\" or \"true\"");
}
return false;
}
#include "support/filetools.h"
#include "support/lstrings.h"
-#include <algorithm>
using namespace lyx::support;
#include <config.h>
#include <fstream>
-#include <iomanip>
#include <iostream>
-#include <boost/scoped_ptr.hpp>
#include "lyxrc.h"
#include "debug.h"
-#include "intl.h"
#include "converter.h"
#include "format.h"
#include "gettext.h"
#include "lyxlex.h"
#include "lyxfont.h"
-#include "support/path.h"
#include "support/tostr.h"
#include "support/filetools.h"
-#include "support/LAssert.h"
#include "support/lstrings.h"
#include "support/userinfo.h"
#include "support/translator.h"
#include "lyxrow_funcs.h"
#include "lyxtext.h"
-#include "paragraph.h"
#include "lyxlayout.h"
#include "debug.h"
#include "support/LAssert.h"
#include <boost/next_prior.hpp>
-#include <algorithm>
using lyx::pos_type;
using lyx::support::Assert;
#include <config.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <unistd.h>
#include <fcntl.h>
-#include <cerrno>
#include "lyxserver.h"
-#include "lyx_main.h"
#include "debug.h"
#include "lyxfunc.h"
#include "support/lstrings.h"
#include "frontends/lyx_gui.h"
#ifdef __EMX__
-#include <cstdlib>
-#include <io.h>
#define OS2EMX_PLAIN_CHAR
#define INCL_DOSNMPIPES
#define INCL_DOSERRORS
-#include <os2.h>
-#include "support/os2_errortable.h"
#endif
#include "support/lstrings.h"
#include "support/LAssert.h"
-#include "support/lyxfunctional.h"
#include "support/filetools.h"
-#include <algorithm>
using namespace lyx::support;
#include "lyxtextclass.h"
#include "debug.h"
#include "lyxlex.h"
-#include "gettext.h"
-#include "frontends/Alert.h"
#include "support/lyxfunctional.h"
-#include "support/LAssert.h"
#include "support/filetools.h"
-#include <utility>
using namespace lyx::support;
#include "debug.h"
#include "buffer.h"
#include "gettext.h"
-#include "funcrequest.h"
#include "frontends/Alert.h"
-#include "frontends/LyXView.h"
#include "support/filetools.h"
#include "support/lyxlib.h"
-#include <unistd.h>
using namespace lyx::support;
#include <config.h>
#include "messages.h"
-#include "debug.h"
#include "support/filetools.h"
#include "support/path_defines.h"
#if 0
-#include <locale>
+-#include <locale>
// This version of the Pimpl utilizes the message capability of
// libstdc++ that is distributed with GNU G++.
#include "metricsinfo.h"
#include "mathed/math_support.h"
#include "frontends/Painter.h"
-#include "debug.h"
#include "BufferView.h"
#include "paragraph_pimpl.h"
#include "buffer.h"
-#include "bufferparams.h"
-#include "BufferView.h"
-#include "changes.h"
#include "encoding.h"
#include "debug.h"
#include "gettext.h"
#include "language.h"
#include "latexrunparams.h"
-#include "layout.h"
-#include "lyxrc.h"
-#include "paragraph_funcs.h"
-#include "ParameterStruct.h"
-#include "texrow.h"
#include "Lsstream.h"
#include "insets/insetbibitem.h"
#include "insets/insetoptarg.h"
-#include "insets/insetenv.h"
-#include "support/filetools.h"
#include "support/lstrings.h"
-#include "support/lyxmanip.h"
-#include "support/FileInfo.h"
#include "support/LAssert.h"
#include "support/textutils.h"
-#include <algorithm>
-#include <fstream>
-#include <csignal>
-#include <ctime>
using namespace lyx::support;
#include "paragraph_funcs.h"
#include "paragraph_pimpl.h"
#include "buffer.h"
-#include "ParagraphParameters.h"
-#include "lyxtextclasslist.h"
#include "debug.h"
#include "gettext.h"
#include "iterators.h"
#include "language.h"
#include "encoding.h"
-#include "lyxrc.h"
#include "lyxlex.h"
#include "factory.h"
#include "Lsstream.h"
#include "support/LAssert.h"
#include "insets/insetoptarg.h"
-#include "insets/insetcommandparams.h"
#include "insets/insetbibitem.h"
#include "insets/insetspace.h"
#include "insets/insetspecialchar.h"
#include "language.h"
#include "LaTeXFeatures.h"
#include "latexrunparams.h"
-#include "lyxrc.h"
-#include "paragraph_funcs.h"
#include "texrow.h"
#include "support/LAssert.h"
#include <config.h>
#include "frontends/Painter.h"
-#include "frontends/screen.h"
#include "frontends/font_metrics.h"
#include "support/LAssert.h"
-#include "paragraph.h"
#include "paragraph_funcs.h"
#include "support/textutils.h"
#include "insets/insettext.h"
#include "ParagraphParameters.h"
-#include "debug.h"
#include "BufferView.h"
#include "buffer.h"
#include "gettext.h"
#include "language.h"
#include "encoding.h"
-#include "lyxtext.h"
#include "rowpainter.h"
-#include "lyxrc.h"
#include "lyxrow_funcs.h"
#include "metricsinfo.h"
-#include <algorithm>
using namespace lyx::support;
#ifndef SGML_H
#define SGML_H
-#include "LString.h"
+#include "paragraph.h"
+#include "LString.h"
#include <algorithm>
#include <iosfwd>
#include "Lsstream.h"
#include "buffer.h"
#include "debug.h"
-#include "gettext.h"
#include "lyxlex.h"
-#include "vspace.h"
#include "insets/insettabular.h"
-#include "insets/insettext.h"
#include "support/LAssert.h"
-#include "support/LIstream.h"
#include "support/lstrings.h"
-#include "support/lyxmanip.h"
#include "support/tostr.h"
-#include "frontends/Alert.h"
-#include "frontends/Painter.h"
-#include <algorithm>
-#include <cstdlib>
using namespace lyx::support;
#include <config.h>
-#include <cstdlib>
#include "tex-accent.h"
-#include "lfuns.h"
#include "support/tostr.h"
/* the names used by TeX and XWindows for deadkeys/accents are not the same
#include "tex-strings.h"
+
// this file should perhaps be split into even smaller parts
char const * string_paragraph_separation[3] = {
#include "texrow.h"
#include "debug.h"
-#include <algorithm>
using std::find_if;
using std::endl;
#include <config.h>
#include "lyxtext.h"
-#include "paragraph.h"
#include "gettext.h"
-#include "bufferparams.h"
#include "buffer.h"
#include "debug.h"
-#include "intl.h"
-#include "lyxrc.h"
#include "encoding.h"
#include "funcrequest.h"
#include "frontends/LyXView.h"
-#include "frontends/Painter.h"
#include "frontends/font_metrics.h"
-#include "frontends/screen.h"
-#include "frontends/WorkArea.h"
-#include "bufferview_funcs.h"
#include "BufferView.h"
#include "language.h"
#include "ParagraphParameters.h"
#include "paragraph_funcs.h"
#include "rowpainter.h"
#include "lyxrow_funcs.h"
-#include "metricsinfo.h"
#include "insets/insettext.h"
#include "support/LAssert.h"
#include "support/lstrings.h"
-#include <algorithm>
using namespace lyx::support;
#include <config.h>
#include "lyxtext.h"
-#include "LString.h"
#include "Lsstream.h"
-#include "paragraph.h"
#include "funcrequest.h"
#include "frontends/LyXView.h"
#include "undo_funcs.h"
#include "buffer.h"
#include "buffer_funcs.h"
-#include "bufferparams.h"
-#include "errorlist.h"
#include "gettext.h"
#include "BufferView.h"
#include "CutAndPaste.h"
-#include "frontends/Painter.h"
#include "frontends/font_metrics.h"
#include "debug.h"
#include "lyxrc.h"
#include <boost/tuple/tuple.hpp>
-#include <algorithm>
using namespace lyx::support;
#include <config.h>
#include "lyxtext.h"
-#include "paragraph.h"
#include "BufferView.h"
#include "funcrequest.h"
#include "lyxrc.h"
#include "Lsstream.h"
#include "debug.h"
-#include "bufferparams.h"
#include "buffer.h"
-#include "bufferview_funcs.h"
#include "ParagraphParameters.h"
#include "gettext.h"
#include "factory.h"
#include "intl.h"
-#include "box.h"
#include "language.h"
#include "support/tostr.h"
#include "support/lstrings.h"
#include "support/LAssert.h"
#include "frontends/LyXView.h"
-#include "frontends/screen.h"
#include "frontends/Dialogs.h"
#include "insets/insetspecialchar.h"
#include "insets/insettext.h"
-#include "insets/insetquotes.h"
#include "insets/insetcommand.h"
#include "insets/insetnewline.h"
#include "undo_funcs.h"
#include "text_funcs.h"
-#include "Lsstream.h"
-#include <ctime>
-#include <clocale>
using namespace lyx::support;
using namespace bv_funcs;
#include <config.h>
+#include "text_funcs.h"
#include "debug.h"
#include "lyxcursor.h"
-#include "ParagraphList.h"
-
-#include "support/types.h"
#include <boost/next_prior.hpp>
#include "buffer.h"
#include "funcrequest.h"
#include "LyXAction.h"
-#include "paragraph.h"
-#include "debug.h"
#include "iterators.h"
#include "insets/insetfloat.h"
#include "trans.h"
#include "support/filetools.h"
#include "support/lstrings.h"
-#include "tex-strings.h"
#include "lyxlex.h"
#include "debug.h"
#include "trans_mgr.h"
#include "trans_mgr.h"
#include "trans.h"
#include "lyxtext.h"
-#include "LString.h"
#include "debug.h"
-#include "chset.h"
#include "insets/insetlatexaccent.h"
-#include "BufferView.h"
-#include "buffer.h"
#include "lyxrc.h"
#include "support/lstrings.h"
#include "BufferView.h"
#include "buffer.h"
#include "insets/updatableinset.h"
-#include "insets/insettext.h"
-#include "debug.h"
-#include "support/LAssert.h"
#include "iterators.h"
#include "vc-backend.h"
#include "debug.h"
#include "buffer.h"
-#include "frontends/LyXView.h"
-#include "funcrequest.h"
#include "support/FileInfo.h"
#include "support/path.h"
#include "vspace.h"
#include "lengthcommon.h"
#include "buffer.h"
-#include "lyxrc.h"
#include "BufferView.h"
#include "lyxtext.h"
-#include "support/LAssert.h"
#include "support/lstrings.h"
-#include <cstdio>
using namespace lyx::support;