]> git.lyx.org Git - lyx.git/blobdiff - src/support/debug.cpp
Fix layout bug. Pasting text into a cell tried to set Standard layout, because
[lyx.git] / src / support / debug.cpp
index ab3b6eee754cddf1d7cb3bc5c2363df5ae29138f..44ef69f4060ab9a6df59161ee89615a86365d606 100644 (file)
@@ -11,9 +11,8 @@
 
 #include <config.h>
 
-#include "support/debug.h"
-
 #include "support/convert.h"
+#include "support/debug.h"
 #include "support/gettext.h"
 #include "support/lstrings.h"
 #include "support/FileName.h"
@@ -62,6 +61,11 @@ ErrorItem errorTags[] = {
        { Debug::CHANGES,   "changes",   N_("Change tracking")},
        { Debug::EXTERNAL,  "external",  N_("External template/inset messages")},
        { Debug::PAINTING,  "painting",  N_("RowPainter profiling")},
+       { Debug::SCROLLING, "scrolling", N_("scrolling debugging")},
+       { Debug::MACROS,    "macros",    N_("Math macros")},
+       { Debug::RTL,       "rtl",       N_("RTL/Bidi")},
+       { Debug::LOCALE,    "locale",    N_("Locale/Internationalisation")},
+       { Debug::SELECTION, "selection", N_("Selection copy/paste mechanism")},
        { Debug::DEBUG,     "debug",     N_("Developers' general debug messages")},
        { Debug::ANY,       "any",       N_("All debugging messages")}
 };
@@ -168,20 +172,19 @@ LyXErr & operator<<(LyXErr & l, unsigned long t)
 { if (l.enabled()) l.stream() << t; return l; }
 LyXErr & operator<<(LyXErr & l, double t)
 { if (l.enabled()) l.stream() << t; return l; }
-LyXErr & operator<<(LyXErr & l, std::string const & t)
+LyXErr & operator<<(LyXErr & l, string const & t)
 { if (l.enabled()) l.stream() << t; return l; }
 LyXErr & operator<<(LyXErr & l, docstring const & t)
 { if (l.enabled()) l.stream() << to_utf8(t); return l; }
-LyXErr & operator<<(LyXErr & l, support::FileName const & t)
+LyXErr & operator<<(LyXErr & l, FileName const & t)
 { if (l.enabled()) l.stream() << t; return l; }
-LyXErr & operator<<(LyXErr & l, std::ostream &(*t)(std::ostream &))
+LyXErr & operator<<(LyXErr & l, ostream &(*t)(ostream &))
 { if (l.enabled()) l.stream() << t; return l; }
-LyXErr & operator<<(LyXErr & l, std::ios_base &(*t)(std::ios_base &))
+LyXErr & operator<<(LyXErr & l, ios_base &(*t)(ios_base &))
 { if (l.enabled()) l.stream() << t; return l; }
 
 
 // The global instance
 LyXErr lyxerr;
 
-
 } // namespace lyx